Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- summon FallingSand ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:FallingSand,Block:redstone_block,Time:1,Passengers:[{id:FallingSand,Block:activator_rail,Time:1,Passengers:[{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false},{id:MinecartCommandBlock,Command:"fill ~2 ~-3 ~-2 ~15 ~-1 ~2 stained_hardened_clay 13 hollow"},{id:MinecartCommandBlock,Command:"fill ~2 ~-2 ~-2 ~15 ~-2 ~2 stained_glass 13 replace stained_hardened_clay"},{id:MinecartCommandBlock,Command:"/fill ~15 ~2 ~-1 ~15 ~4 ~1 minecraft:stained_hardened_clay 4 replace"},{id:MinecartCommandBlock,Command:"/summon ItemFrame ~14 ~3 ~ {Tags:[\"itemframecenter\"],Item:{id:spectral_arrow},Facing:1,ItemRotation:7}"},{id:MinecartCommandBlock,Command:"/summon ItemFrame ~14 ~4 ~ {Item:{id:leather_chestplate},Facing:1,ItemRotation:0}"},{id:MinecartCommandBlock,Command:"/summon ItemFrame ~14 ~2 ~ {Item:{id:stone_sword},Facing:1,ItemRotation:0}"},{id:MinecartCommandBlock,Command:"/summon ItemFrame ~14 ~3 ~1 {Item:{id:iron_leggings},Facing:1,ItemRotation:0}"},{id:MinecartCommandBlock,Command:"/summon ItemFrame ~14 ~3 ~-1 {Item:{id:gold_nugget},Facing:1,ItemRotation:0}"},{id:MinecartCommandBlock,Command:"/summon ItemFrame ~14 ~4 ~1 {Item:{id:iron_pickaxe},Facing:1,ItemRotation:0}"},{id:MinecartCommandBlock,Command:"/summon ItemFrame ~14 ~4 ~-1 {Item:{id:cooked_chicken},Facing:1,ItemRotation:0}"},{id:MinecartCommandBlock,Command:"/summon ItemFrame ~14 ~2 ~-1 {Item:{id:golden_apple},Facing:1,ItemRotation:0}"},{id:MinecartCommandBlock,Command:"/summon ItemFrame ~14 ~2 ~1 {Item:{id:rotten_flesh},Facing:1,ItemRotation:0}"},{id:MinecartCommandBlock,Command:"/setblock ~12 ~1 ~ minecraft:stained_hardened_clay 4 replace"},{id:MinecartCommandBlock,Command:"/setblock ~12 ~2 ~ minecraft:stone_button 5 replace"},{id:MinecartCommandBlock,Command:"/fill ~11 ~ ~-1 ~9 ~ ~1 minecraft:stained_hardened_clay 10 replace"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add itemframe dummy"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add timecode dummy"},{id:MinecartCommandBlock,Command:"/fill ~2 ~-3 ~-2 ~15 ~-6 ~5 minecraft:stained_hardened_clay 13 hollow"},{id:MinecartCommandBlock,Command:"/setblock ~4 ~-5 ~1 minecraft:hopper 3 replace {Items:[{Slot:0,id:stone,Count:1}]}"},{id:MinecartCommandBlock,Command:"/setblock ~3 ~-5 ~1 minecraft:command_block 0 replace {Command:/setblock ~9 ~7 ~-1 minecraft:stone_button 5,TrackOutput:0}"},{id:MinecartCommandBlock,Command:"/setblock ~3 ~-4 ~1 minecraft:redstone_block 0 replace"},{id:MinecartCommandBlock,Command:"/setblock ~5 ~-5 ~1 minecraft:hopper 4 replace"},{id:MinecartCommandBlock,Command:"/setblock ~6 ~-5 ~1 minecraft:hopper 4 replace"},{id:MinecartCommandBlock,Command:"/setblock ~7 ~-5 ~1 minecraft:hopper 4 replace"},{id:MinecartCommandBlock,Command:"/setblock ~7 ~-5 ~2 minecraft:hopper 2 replace"},{id:MinecartCommandBlock,Command:"/setblock ~6 ~-5 ~2 minecraft:hopper 5 replace"},{id:MinecartCommandBlock,Command:"/setblock ~5 ~-5 ~2 minecraft:hopper 5 replace"},{id:MinecartCommandBlock,Command:"/setblock ~4 ~-5 ~2 minecraft:hopper 5 replace"},{id:MinecartCommandBlock,Command:"/fill ~4 ~-5 ~-1 ~7 ~-5 ~-1 minecraft:quartz_block"},{id:MinecartCommandBlock,Command:"/fill ~4 ~-5 ~4 ~7 ~-5 ~4 minecraft:quartz_block"},{id:MinecartCommandBlock,Command:"/fill ~4 ~-4 ~1 ~7 ~-4 ~2 minecraft:redstone_wire 0 replace"},{id:MinecartCommandBlock,Command:"/fill ~4 ~-5 ~ ~7 ~-5 ~ minecraft:unpowered_comparator 0"},{id:MinecartCommandBlock,Command:"/fill ~4 ~-5 ~3 ~7 ~-5 ~3 minecraft:unpowered_comparator 2"},{id:MinecartCommandBlock,Command:"/setblock ~4 ~-4 ~4 minecraft:command_block 0 replace {Command:/entitydata @e[tag=itemframecenter] {ItemRotation:0},TrackOutput:0}"},{id:MinecartCommandBlock,Command:"/setblock ~5 ~-4 ~4 minecraft:command_block 0 replace {Command:/entitydata @e[tag=itemframecenter] {ItemRotation:1},TrackOutput:0}"},{id:MinecartCommandBlock,Command:"/setblock ~6 ~-4 ~4 minecraft:command_block 0 replace {Command:/entitydata @e[tag=itemframecenter] {ItemRotation:2},TrackOutput:0}"},{id:MinecartCommandBlock,Command:"/setblock ~7 ~-4 ~4 minecraft:command_block 0 replace {Command:/entitydata @e[tag=itemframecenter] {ItemRotation:3},TrackOutput:0}"},{id:MinecartCommandBlock,Command:"/setblock ~7 ~-4 ~-1 minecraft:command_block 0 replace {Command:/entitydata @e[tag=itemframecenter] {ItemRotation:4},TrackOutput:0}"},{id:MinecartCommandBlock,Command:"/setblock ~6 ~-4 ~-1 minecraft:command_block 0 replace {Command:/entitydata @e[tag=itemframecenter] {ItemRotation:5},TrackOutput:0}"},{id:MinecartCommandBlock,Command:"/setblock ~5 ~-4 ~-1 minecraft:command_block 0 replace {Command:/entitydata @e[tag=itemframecenter] {ItemRotation:6},TrackOutput:0}"},{id:MinecartCommandBlock,Command:"/setblock ~4 ~-4 ~-1 minecraft:command_block 0 replace {Command:/entitydata @e[tag=itemframecenter] {ItemRotation:7},TrackOutput:0}"},{id:MinecartCommandBlock,Command:setblock ~1 ~-3 ~ wall_sign 4 replace {Text2:"{\\\"text\\\":\\\"автор Бригсон\\\",\\\"color\\\":\\\"dark_blue\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/tellraw @a [\\\\\\\"\\\\\\\",{\\\\\\\"text\\\\\\\":\\\\\\\"нажми на сообщение, чтобы перейти на канал автора, где множество интересных механизмов по майнкрафту\\\\\\\",\\\\\\\"color\\\\\\\":\\\\\\\"green\\\\\\\",\\\\\\\"bold\\\\\\\":true,\\\\\\\"clickEvent\\\\\\\":{\\\\\\\"action\\\\\\\":\\\\\\\"open_url\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"https://www.youtube.com/channel/UCYeqXNaEey3VA3tzSHWB4xA\\\\\\\"}}]\\\"}}",Text3:"{\\\"text\\\":\\\"кликни на табличку\\\",\\\"color\\\":\\\"dark_blue\\\"}"}},{id:MinecartCommandBlock,Command:setblock ~1 ~-2 ~ wall_sign 4 replace {Text1:"{\\\"text\\\":\\\"кликни на табличку,\\\",\\\"color\\\":\\\"dark_green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"scoreboard players add @e[type=ArmorStand,name=TogAct,c=1] G2SmLF_A 1\\\"}}",Text2:"{\\\"text\\\":\\\"чтобы деактивировать\\\",\\\"color\\\":\\\"dark_green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"execute @e[score_G2SmLF_A_min=1,score_G2SmLF_A=1] ~ ~ ~ blockdata ~ ~ ~ {auto:0}\\\"}}",Text3:"{\\\"text\\\":\\\"или активировать\\\",\\\"color\\\":\\\"dark_green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"execute @e[score_G2SmLF_A_min=2] ~ ~ ~ blockdata ~ ~ ~ {auto:1}\\\"}}",Text4:"{\\\"text\\\":\\\"рулетку\\\",\\\"color\\\":\\\"dark_green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"scoreboard players reset @e[score_G2SmLF_A_min=2] G2SmLF_A\\\"}}"}},{id:MinecartCommandBlock,Command:setblock ~1 ~-1 ~ wall_sign 4 replace {Text2:"{\\\"text\\\":\\\"кликни, чтобы\\\",\\\"color\\\":\\\"dark_purple\\\"}",Text3:"{\\\"text\\\":\\\"разрушить механизм\\\",\\\"color\\\":\\\"dark_purple\\\"}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-2 ~-2 ~14 ~ ~2 air\\\"}}"}},{id:MinecartCommandBlock,Command:"summon ArmorStand ~3 ~-2 ~-1 {CustomName:TogAct,Marker:1,NoGravity:1,Invisible:1}"},{id:MinecartCommandBlock,Command:"scoreboard objectives add G2SmLF_A dummy"},{id:MinecartCommandBlock,Command:setblock ~14 ~-2 ~1 chain_command_block 3 replace {auto:1,Command:"/kill @e[score_timecode_min=0,score_timecode=0]"}},{id:MinecartCommandBlock,Command:setblock ~13 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @e[score_itemframe=7,score_itemframe_min=7,c=1] ~ ~ ~ /execute @e[score_timecode_min=0,score_timecode=0,c=1] ~ ~ ~ /execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 10 /give @a[r=0] minecraft:leather_chestplate 1 "}},{id:MinecartCommandBlock,Command:setblock ~12 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @e[score_itemframe=6,score_itemframe_min=6,c=1] ~ ~ ~ /execute @e[score_timecode_min=0,score_timecode=0,c=1] ~ ~ ~ /execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 10 /give @a[r=0] minecraft:cooked_chicken 1 "}},{id:MinecartCommandBlock,Command:setblock ~11 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @e[score_itemframe=5,score_itemframe_min=5,c=1] ~ ~ ~ /execute @e[score_timecode_min=0,score_timecode=0,c=1] ~ ~ ~ /execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 10 /give @a[r=0] minecraft:gold_nugget 1 "}},{id:MinecartCommandBlock,Command:setblock ~10 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @e[score_itemframe=4,score_itemframe_min=4,c=1] ~ ~ ~ /execute @e[score_timecode_min=0,score_timecode=0,c=1] ~ ~ ~ /execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 10 /give @a[r=0] minecraft:golden_apple 1 "}},{id:MinecartCommandBlock,Command:setblock ~9 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @e[score_itemframe=3,score_itemframe_min=3,c=1] ~ ~ ~ /execute @e[score_timecode_min=0,score_timecode=0,c=1] ~ ~ ~ /execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 10 /give @a[r=0] minecraft:stone_sword 1 "}},{id:MinecartCommandBlock,Command:setblock ~8 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @e[score_itemframe=2,score_itemframe_min=2,c=1] ~ ~ ~ /execute @e[score_timecode_min=0,score_timecode=0,c=1] ~ ~ ~ /execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 10 /give @a[r=0] minecraft:rotten_flesh 1 "}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @e[score_itemframe=1,score_itemframe_min=1,c=1] ~ ~ ~ /execute @e[score_timecode_min=0,score_timecode=0,c=1] ~ ~ ~ /execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 10 /give @a[r=0] minecraft:iron_leggings 1 "}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @e[score_itemframe=0,score_itemframe_min=0,c=1] ~ ~ ~ /execute @e[score_timecode_min=0,score_timecode=0,c=1] ~ ~ ~ /execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 10 /give @a[r=0] minecraft:iron_pickaxe 1 "}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~1 chain_command_block 13 replace {auto:1,Command:"/setblock ~-2 ~-2 ~ minecraft:redstone_block 0 keep"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/testfor @e[score_timecode_min=0,score_timecode=0]"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/scoreboard players set @e[tag=itemframecenter] itemframe 7 {ItemRotation:7b}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ chain_command_block 3 replace {auto:1,Command:"/scoreboard players set @e[tag=itemframecenter] itemframe 6 {ItemRotation:6b}"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players set @e[tag=itemframecenter] itemframe 5 {ItemRotation:5b}"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~ chain_command_block 12 replace {auto:1,Command:"/setblock ~-2 ~-2 ~1 minecraft:air"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/testfor @e[score_timecode_min=1]"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players set @e[tag=itemframecenter] itemframe 4 {ItemRotation:4b}"}},{id:MinecartCommandBlock,Command:setblock ~8 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players set @e[tag=itemframecenter] itemframe 3 {ItemRotation:3b}"}},{id:MinecartCommandBlock,Command:setblock ~9 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players set @e[tag=itemframecenter] itemframe 2 {ItemRotation:2b}"}},{id:MinecartCommandBlock,Command:setblock ~10 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players set @e[tag=itemframecenter] itemframe 1 {ItemRotation:1b}"}},{id:MinecartCommandBlock,Command:setblock ~11 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players set @e[tag=itemframecenter] itemframe 0 {ItemRotation:0b}"}},{id:MinecartCommandBlock,Command:setblock ~12 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players remove @e[score_timecode_min=0] timecode 1"}},{id:MinecartCommandBlock,Command:setblock ~13 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players set @e[type=Item,r=10,rym=135,ry=179] timecode 150 {Item:{id:minecraft:dye,tag:{display:{Name:\\\"bonus\\\"}}},Age:20s}"}},{id:MinecartCommandBlock,Command:setblock ~14 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/scoreboard players set @e[type=Item,r=10,rym=90,ry=134] timecode 140 {Item:{id:minecraft:dye,tag:{display:{Name:\\\"bonus\\\"}}},Age:20s}"}},{id:MinecartCommandBlock,Command:setblock ~14 ~-2 ~-1 chain_command_block 3 replace {auto:1,Command:"/scoreboard players set @e[type=Item,r=10,rym=45,ry=89] timecode 130 {Item:{id:minecraft:dye,tag:{display:{Name:\\\"bonus\\\"}}},Age:20s}"}},{id:MinecartCommandBlock,Command:setblock ~13 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/scoreboard players set @e[type=Item,r=10,rym=0,ry=44] timecode 120 {Item:{id:minecraft:dye,tag:{display:{Name:\\\"bonus\\\"}}},Age:20s}"}},{id:MinecartCommandBlock,Command:setblock ~12 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/scoreboard players set @e[type=Item,r=10,rym=-45,ry=-1] timecode 110 {Item:{id:minecraft:dye,tag:{display:{Name:\\\"bonus\\\"}}},Age:20s}"}},{id:MinecartCommandBlock,Command:setblock ~11 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/scoreboard players set @e[type=Item,r=10,rym=-90,ry=-46] timecode 100 {Item:{id:minecraft:dye,tag:{display:{Name:\\\"bonus\\\"}}},Age:20s}"}},{id:MinecartCommandBlock,Command:setblock ~10 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/scoreboard players set @e[type=Item,r=10,rym=-135,ry=-91] timecode 90 {Item:{id:minecraft:dye,tag:{display:{Name:\\\"bonus\\\"}}},Age:20s}"}},{id:MinecartCommandBlock,Command:setblock ~9 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/scoreboard players set @e[type=Item,r=10,rym=-180,ry=-136] timecode 80 {Item:{id:minecraft:dye,tag:{display:{Name:\\\"bonus\\\"}}},Age:20s}"}},{id:MinecartCommandBlock,Command:setblock ~8 ~-2 ~-1 chain_command_block 13 replace {auto:1,Command:"/xp -5l @p[tag=playcashe]"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/kill @e[type=Endermite,tag=dropbonus]"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/execute @e[type=Endermite,tag=dropbonus] ~ ~ ~ /execute @p[lm=5] ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 10 /scoreboard players tag @p[r=0] add playcashe"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~-1 chain_command_block 13 replace {auto:1,Command:"/setblock ~7 ~4 ~1 minecraft:air 0 replace"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~-1 chain_command_block 13 replace {auto:1,Command:"/execute @p[lm=5] ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 10 /summon Endermite ~2 ~-6 ~ {Tags:[\\\"dropbonus\\\"],Air:0,HandItems:[{id:dye,Count:1,tag:{display:{Name:\\\"bonus\\\"}}},{}],HandDropChances:[2.0F,0.0F],Silent:1}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~-1 repeating_command_block 5 replace {auto:1,Command:"/testforblock ~9 ~4 ~1 minecraft:stone_button 13 "}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block},{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]}
- ОБЪЯСНЕНИЕ КОМАНД В МЕХАНИЗМЕ
- (команды с 1 по 24 выполняются один раз и командные блоки с этими командами не ставятся)
- 1. ставит стенку 3х3 для рулетки
- /fill ~15 ~2 ~-1 ~15 ~4 ~1 minecraft:stained_hardened_clay 4 replace
- 2. ставит центральную рамку со стрелой
- /summon ItemFrame ~14 ~3 ~ {Tags:["itemframecenter"],Item:{id:spectral_arrow},Facing:1,ItemRotation:7}
- 3. ставит рамку с кожаным нагрудником
- /summon ItemFrame ~14 ~4 ~ {Item:{id:leather_chestplate},Facing:1,ItemRotation:0}
- 4. ставит рамку с каменным мечом
- /summon ItemFrame ~14 ~2 ~ {Item:{id:stone_sword},Facing:1,ItemRotation:0}
- 5. ставит рамку с железными поножами
- /summon ItemFrame ~14 ~3 ~1 {Item:{id:iron_leggings},Facing:1,ItemRotation:0}
- 6. ставит рамку с золотым самородком
- /summon ItemFrame ~14 ~3 ~-1 {Item:{id:gold_nugget},Facing:1,ItemRotation:0}
- 7. ставит рамку с железной киркой
- /summon ItemFrame ~14 ~4 ~1 {Item:{id:iron_pickaxe},Facing:1,ItemRotation:0}
- 8. ставит рамку с жареной курицей
- /summon ItemFrame ~14 ~4 ~-1 {Item:{id:cooked_chicken},Facing:1,ItemRotation:0}
- 9. ставит рамку с золотым яблоком
- /summon ItemFrame ~14 ~2 ~-1 {Item:{id:golden_apple},Facing:1,ItemRotation:0}
- 10. ставит рамку с гнилой плотью
- /summon ItemFrame ~14 ~2 ~1 {Item:{id:rotten_flesh},Facing:1,ItemRotation:0}
- 11. ставит блок для кнопки
- /setblock ~12 ~1 ~ minecraft:stained_hardened_clay 4 replace
- 12. ставит кнопку
- /setblock ~12 ~2 ~ minecraft:stone_button 5 replace
- 13. ставит площадку из фиолетовой глины на которой стоит игрок
- /fill ~11 ~ ~-1 ~9 ~ ~1 minecraft:stained_hardened_clay 10 replace
- 14. создает событие для положения стрелы в рамке
- /scoreboard objectives add itemframe dummy
- 15. создает событие для рандомного выбора
- /scoreboard objectives add timecode dummy
- 16. создает коробку под механизмом для размещение воронок и дополнительных командных блоков
- /fill ~2 ~-3 ~-2 ~15 ~-6 ~5 minecraft:stained_hardened_clay 13 hollow
- 17. ставит воронку с камнем внутри
- /setblock ~4 ~-5 ~1 minecraft:hopper 3 replace {Items:[{Slot:0,id:stone,Count:1}]}
- 18. ставит командный блок, который устанавливает каменную кнопку для следующего розыгрыша
- /setblock ~3 ~-5 ~1 minecraft:command_block 0 replace {Command:/setblock ~9 ~7 ~-1 minecraft:stone_button 5,TrackOutput:0}
- 19. ставит блок красного камня, который блокирует воронки
- /setblock ~3 ~-4 ~1 minecraft:redstone_block 0 replace
- 20. ставит воронки
- /setblock ~5 ~-5 ~1 minecraft:hopper 4 replace
- /setblock ~6 ~-5 ~1 minecraft:hopper 4 replace
- /setblock ~7 ~-5 ~1 minecraft:hopper 4 replace
- /setblock ~7 ~-5 ~2 minecraft:hopper 2 replace
- /setblock ~6 ~-5 ~2 minecraft:hopper 5 replace
- /setblock ~5 ~-5 ~2 minecraft:hopper 5 replace
- /setblock ~4 ~-5 ~2 minecraft:hopper 5 replace
- 21. устанавливает блоки кварца от компараторов
- /fill ~4 ~-5 ~-1 ~7 ~-5 ~-1 minecraft:quartz_block
- /fill ~4 ~-5 ~4 ~7 ~-5 ~4 minecraft:quartz_block
- 22. устанавливает красную пыль на воронки
- /fill ~4 ~-4 ~1 ~7 ~-4 ~2 minecraft:redstone_wire 0 replace
- 23. устанавливает компараторы от воронок
- /fill ~4 ~-5 ~ ~7 ~-5 ~ minecraft:unpowered_comparator 0
- /fill ~4 ~-5 ~3 ~7 ~-5 ~3 minecraft:unpowered_comparator 2
- 24. устанавливает командные блоки для изменения положения стрелы в центральной рамке
- /setblock ~4 ~-4 ~4 minecraft:command_block 0 replace {Command:/entitydata @e[tag=itemframecenter] {ItemRotation:0},TrackOutput:0}
- /setblock ~5 ~-4 ~4 minecraft:command_block 0 replace {Command:/entitydata @e[tag=itemframecenter] {ItemRotation:1},TrackOutput:0}
- /setblock ~6 ~-4 ~4 minecraft:command_block 0 replace {Command:/entitydata @e[tag=itemframecenter] {ItemRotation:2},TrackOutput:0}
- /setblock ~7 ~-4 ~4 minecraft:command_block 0 replace {Command:/entitydata @e[tag=itemframecenter] {ItemRotation:3},TrackOutput:0}
- /setblock ~7 ~-4 ~-1 minecraft:command_block 0 replace {Command:/entitydata @e[tag=itemframecenter] {ItemRotation:4},TrackOutput:0}
- /setblock ~6 ~-4 ~-1 minecraft:command_block 0 replace {Command:/entitydata @e[tag=itemframecenter] {ItemRotation:5},TrackOutput:0}
- /setblock ~5 ~-4 ~-1 minecraft:command_block 0 replace {Command:/entitydata @e[tag=itemframecenter] {ItemRotation:6},TrackOutput:0}
- /setblock ~4 ~-4 ~-1 minecraft:command_block 0 replace {Command:/entitydata @e[tag=itemframecenter] {ItemRotation:7},TrackOutput:0}
- 25. тестирует нажатую каменную кнопку
- /testforblock ~9 ~4 ~1 minecraft:stone_button 13
- 26. спаунит чешуйницу края возле игрок с опытом минимум в 5 уровней
- /execute @p[lm=5] ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 10 /summon Endermite ~2 ~-6 ~ {Tags:["dropbonus"],Air:0,HandItems:[{id:dye,Count:1,tag:{display:{Name:"bonus"}}},{}],HandDropChances:[2.0F,0.0F],Silent:1}
- 27. ставит на месте кнопки блок воздуха
- /setblock ~7 ~4 ~1 minecraft:air 0 replace
- 28. дает тэг игроку, нажавшему кнопку и имеющему миниму 5 уровней опыта
- /execute @e[type=Endermite,tag=dropbonus] ~ ~ ~ /execute @p[lm=5] ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 10 /scoreboard players tag @p[r=0] add playcashe
- 29. убивает чешуйницу края
- /kill @e[type=Endermite,tag=dropbonus]
- 30. забирает у игрока с тэгом 5 уровней опыта
- /xp -5l @p[tag=playcashe]
- 31. рандомная установка очков мешку чернил, выпавшему из чешуйницы края в событие для рандома предметов в рулетке
- /scoreboard players set @e[type=Item,r=10,rym=-180,ry=-136] timecode 80 {Item:{id:minecraft:dye,tag:{display:{Name:"bonus"}}},Age:20s}
- /scoreboard players set @e[type=Item,r=10,rym=-135,ry=-91] timecode 90 {Item:{id:minecraft:dye,tag:{display:{Name:"bonus"}}},Age:20s}
- /scoreboard players set @e[type=Item,r=10,rym=-90,ry=-46] timecode 100 {Item:{id:minecraft:dye,tag:{display:{Name:"bonus"}}},Age:20s}
- /scoreboard players set @e[type=Item,r=10,rym=-45,ry=-1] timecode 110 {Item:{id:minecraft:dye,tag:{display:{Name:"bonus"}}},Age:20s}
- /scoreboard players set @e[type=Item,r=10,rym=0,ry=44] timecode 120 {Item:{id:minecraft:dye,tag:{display:{Name:"bonus"}}},Age:20s}
- /scoreboard players set @e[type=Item,r=10,rym=45,ry=89] timecode 130 {Item:{id:minecraft:dye,tag:{display:{Name:"bonus"}}},Age:20s}
- /scoreboard players set @e[type=Item,r=10,rym=90,ry=134] timecode 140 {Item:{id:minecraft:dye,tag:{display:{Name:"bonus"}}},Age:20s}
- /scoreboard players set @e[type=Item,r=10,rym=135,ry=179] timecode 150 {Item:{id:minecraft:dye,tag:{display:{Name:"bonus"}}},Age:20s}
- 32. удаление по одному очку в событии у чернильного мешка
- /scoreboard players remove @e[score_timecode_min=0] timecode 1
- 33. установка очков в событие для рамок центральной рамке в зависимости от положение стрелы в ней
- /scoreboard players set @e[tag=itemframecenter] itemframe 0 {ItemRotation:0b}
- /scoreboard players set @e[tag=itemframecenter] itemframe 1 {ItemRotation:1b}
- /scoreboard players set @e[tag=itemframecenter] itemframe 2 {ItemRotation:2b}
- /scoreboard players set @e[tag=itemframecenter] itemframe 3 {ItemRotation:3b}
- /scoreboard players set @e[tag=itemframecenter] itemframe 4 {ItemRotation:4b}
- /scoreboard players set @e[tag=itemframecenter] itemframe 5 {ItemRotation:5b}
- /scoreboard players set @e[tag=itemframecenter] itemframe 6 {ItemRotation:6b}
- /scoreboard players set @e[tag=itemframecenter] itemframe 7 {ItemRotation:7b}
- 34. тест чернильного мешка с минимум одним очком в событии для рандома
- /testfor @e[score_timecode_min=1]
- 35. установка блока воздуха вместо блока красного камня
- /setblock ~-2 ~-2 ~1 minecraft:air
- 36. тест предмета с нуля очками в событии для рандома
- /testfor @e[score_timecode_min=0,score_timecode=0]
- 37. установака блока красного камня для блокировки воронок как только будет найден предмет с нуля очками в событии для рандома
- /setblock ~-2 ~-2 ~ minecraft:redstone_block 0 keep
- 38. выдача рандомных предметов
- /execute @e[score_itemframe=0,score_itemframe_min=0,c=1] ~ ~ ~ /execute @e[score_timecode_min=0,score_timecode=0,c=1] ~ ~ ~ /execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 10 /give @a[r=0] minecraft:iron_pickaxe 1
- /execute @e[score_itemframe=1,score_itemframe_min=1,c=1] ~ ~ ~ /execute @e[score_timecode_min=0,score_timecode=0,c=1] ~ ~ ~ /execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 10 /give @a[r=0] minecraft:iron_leggings 1
- /execute @e[score_itemframe=2,score_itemframe_min=2,c=1] ~ ~ ~ /execute @e[score_timecode_min=0,score_timecode=0,c=1] ~ ~ ~ /execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 10 /give @a[r=0] minecraft:rotten_flesh 1
- /execute @e[score_itemframe=3,score_itemframe_min=3,c=1] ~ ~ ~ /execute @e[score_timecode_min=0,score_timecode=0,c=1] ~ ~ ~ /execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 10 /give @a[r=0] minecraft:stone_sword 1
- /execute @e[score_itemframe=4,score_itemframe_min=4,c=1] ~ ~ ~ /execute @e[score_timecode_min=0,score_timecode=0,c=1] ~ ~ ~ /execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 10 /give @a[r=0] minecraft:golden_apple 1
- /execute @e[score_itemframe=5,score_itemframe_min=5,c=1] ~ ~ ~ /execute @e[score_timecode_min=0,score_timecode=0,c=1] ~ ~ ~ /execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 10 /give @a[r=0] minecraft:gold_nugget 1
- /execute @e[score_itemframe=6,score_itemframe_min=6,c=1] ~ ~ ~ /execute @e[score_timecode_min=0,score_timecode=0,c=1] ~ ~ ~ /execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 10 /give @a[r=0] minecraft:cooked_chicken 1
- /execute @e[score_itemframe=7,score_itemframe_min=7,c=1] ~ ~ ~ /execute @e[score_timecode_min=0,score_timecode=0,c=1] ~ ~ ~ /execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_hardened_clay 10 /give @a[r=0] minecraft:leather_chestplate 1
- 39. убийство чернильного мешка с нулями очков в событии для рандома
- /kill @e[score_timecode_min=0,score_timecode=0]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement