Grinder from Dull Dusks in One Command (1.9 / 15w41a+)
summon FallingSand ~ ~1 ~ {Time:1,Passengers:[{id:"FallingSand",Time:1,TileID:152,Passengers:[{id:"FallingSand",Time:1,TileID:157,Passengers:[{id:MinecartCommandBlock,Command:"buffer",Passengers:[{id:MinecartCommandBlock,Command:"gamerule logAdminCommands false",Passengers:[{id:MinecartCommandBlock,Command:"gamerule commandBlockOutput false",Passengers:[{id:MinecartCommandBlock,Command:"scoreboard objectives add creategrinder dummy",Passengers:[{id:MinecartCommandBlock,Command:"scoreboard objectives add timer dummy",Passengers:[{id:MinecartCommandBlock,Command:"scoreboard objectives add grinderdir dummy",Passengers:[{id:MinecartCommandBlock,Command:"fill ~ ~-3 ~-1 ~ ~3 ~-11 stained_hardened_clay 14",Passengers:[{id:MinecartCommandBlock,Command:"fill ~ ~3 ~-2 ~ ~3 ~-10 stained_glass 14",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~-2 ~-10 repeating_command_block 3 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:scoreboard players set @e creategrinder 2 {Item:{id:minecraft:iron_ingot,Count:2b}},id:Control,x:0,y:0,z:0}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~-2 ~-9 chain_command_block 3 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:scoreboard players set @e creategrinder 1 {Item:{id:minecraft:rotten_flesh,Count:16b}},id:Control,x:0,y:0,z:1}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~-2 ~-8 chain_command_block 3 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:scoreboard players set @e creategrinder 3 {Item:{id:minecraft:golden_sword}},id:Control,x:0,y:0,z:2}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~-2 ~-7 chain_command_block 3 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:scoreboard players set @e[score_timer_min=1] creategrinder 4 {Item:{tag:{display:{Lore:[Throw to Create a Grinder]}}}},id:Control,x:0,y:0,z:3}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~-2 ~-6 chain_command_block 3 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @e[score_creategrinder_min=1,score_creategrinder=1] ~ ~ ~ execute @e[score_creategrinder_min=2,score_creategrinder=2,r=0] ~ ~ ~ execute @e[score_creategrinder_min=3,score_creategrinder=3,r=0] ~ ~ ~ give @p pumpkin 1 0 {ench:[],display:{Lore:[Throw to Create a Grinder],Name:Grinder}},id:Control,x:0,y:0,z:4}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~-2 ~-5 chain_command_block 3 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @e[score_creategrinder_min=1,score_creategrinder=1] ~ ~ ~ execute @e[score_creategrinder_min=2,score_creategrinder=2,r=0] ~ ~ ~ execute @e[score_creategrinder_min=3,score_creategrinder=3,r=0] ~ ~ ~ kill @e[type=Item,r=1],id:Control,x:0,y:0,z:5}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~-2 ~-4 chain_command_block 3 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @a[rym=-135,ry=-45] ~ ~ ~ execute @e[score_creategrinder_min=4,r=1] ~ ~ ~ setblock ~ ~-1 ~ pumpkin 1,id:Control,x:0,y:0,z:6}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~-2 ~-3 chain_command_block 3 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @a[rym=-45,ry=45] ~ ~ ~ execute @e[score_creategrinder_min=4,r=1] ~ ~ ~ setblock ~ ~-1 ~ pumpkin 2,id:Control,x:0,y:0,z:7}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~-2 ~-2 chain_command_block 1 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @a[rym=45,ry=135] ~ ~ ~ execute @e[score_creategrinder_min=4,r=1] ~ ~ ~ setblock ~ ~-1 ~ pumpkin 3,id:Control,x:0,y:0,z:8}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~-1 ~-10 chain_command_block 3 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @e[score_grinderdir_min=2,score_grinderdir=2] ~-1 ~ ~-3 entitydata @e[type=!Player,dx=2,dz=2] {FallDistance:1000},id:Control,x:0,y:1,z:0}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~-1 ~-9 chain_command_block 3 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @e[score_grinderdir_min=3,score_grinderdir=3] ~3 ~ ~1 entitydata @e[type=!Player,dx=-2,dz=-2] {FallDistance:1000},id:Control,x:0,y:1,z:1}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~-1 ~-8 chain_command_block 3 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @e[score_grinderdir_min=4,score_grinderdir=4] ~1 ~ ~3 entitydata @e[type=!Player,dx=-2,dz=-2] {FallDistance:1000},id:Control,x:0,y:1,z:2}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~-1 ~-7 chain_command_block 3 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @e[score_grinderdir=1] ~ ~ ~ particle dripLava ~-2 ~ ~ .7 0 .7 1 10 ,id:Control,x:0,y:1,z:3}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~-1 ~-6 chain_command_block 3 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @e[score_grinderdir=2,score_grinderdir_min=2] ~ ~ ~ particle dripLava ~ ~ ~-2 .7 0 .7 1 10 ,id:Control,x:0,y:1,z:4}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~-1 ~-5 chain_command_block 3 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @e[score_grinderdir=3,score_grinderdir_min=3] ~ ~ ~ particle dripLava ~2 ~ ~ .7 0 .7 1 10 ,id:Control,x:0,y:1,z:5}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~-1 ~-4 chain_command_block 3 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @e[score_grinderdir=4,score_grinderdir_min=4] ~ ~ ~ particle dripLava ~ ~ ~2 .7 0 .7 1 10 ,id:Control,x:0,y:1,z:6}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~-1 ~-2 chain_command_block 1 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @a[rym=135,ry=-135] ~ ~ ~ execute @e[score_creategrinder_min=4,r=1] ~ ~ ~ setblock ~ ~-1 ~ pumpkin 4,id:Control,x:0,y:1,z:8}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~0 ~-10 chain_command_block 0 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @e[score_grinderdir_min=1,score_grinderdir=1] ~-3 ~ ~-1 entitydata @e[type=!Player,dx=2,dz=2] {FallDistance:1000},id:Control,x:0,y:2,z:0}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~0 ~-6 repeating_command_block 0 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:scoreboard players add @e[type=Item] timer 1 ,id:Control,x:0,y:2,z:4}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~0 ~-2 chain_command_block 1 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @e[score_creategrinder_min=4] ~ ~ ~ summon AreaEffectCloud ~ ~-1 ~ {Duration:2147483647,CustomName:grinder},id:Control,x:0,y:2,z:8}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~1 ~-10 chain_command_block 0 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @e[score_creategrinder=-2] ~ ~ ~ kill @e[type=AreaEffectCloud,r=0,c=1,name=grinder],id:Control,x:0,y:3,z:0}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~1 ~-2 chain_command_block 1 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:kill @e[score_creategrinder_min=4],id:Control,x:0,y:3,z:8}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~2 ~-10 chain_command_block 0 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @e[score_creategrinder=-2,c=1] ~ ~ ~ kill @e[name=grinder,r=0,c=1],id:Control,x:0,y:4,z:0}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~2 ~-9 chain_command_block 2 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @e[score_creategrinder=-2] ~ ~ ~ give @p pumpkin 1 0 {ench:[],display:{Lore:[Throw to Create a Grinder],Name:Grinder}},id:Control,x:0,y:4,z:1}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~2 ~-8 chain_command_block 2 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @e[score_creategrinder=-2] ~ ~ ~ kill @e[type=Item,r=0],id:Control,x:0,y:4,z:2}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~2 ~-7 chain_command_block 2 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @e[name=grinder] ~ ~ ~ detect ~ ~ ~ pumpkin -1 scoreboard players set @e[c=1,r=0,name=grinder] creategrinder -1,id:Control,x:0,y:4,z:3}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~2 ~-6 chain_command_block 2 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:scoreboard players set @e[name=grinder] creategrinder -2,id:Control,x:0,y:4,z:4}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~2 ~-5 chain_command_block 2 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @e[name=grinder] ~ ~ ~ detect ~ ~ ~ pumpkin 2 scoreboard players set @e[r=0,c=1,type=AreaEffectCloud] grinderdir 2,id:Control,x:0,y:4,z:5}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~2 ~-4 chain_command_block 2 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @e[name=grinder] ~ ~ ~ detect ~ ~ ~ pumpkin 1 scoreboard players set @e[r=0,c=1,type=AreaEffectCloud] grinderdir 1,id:Control,x:0,y:4,z:6}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~2 ~-3 chain_command_block 2 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @e[name=grinder] ~ ~ ~ detect ~ ~ ~ pumpkin 3 scoreboard players set @e[r=0,c=1,type=AreaEffectCloud] grinderdir 3,id:Control,x:0,y:4,z:7}",Passengers:[{id:MinecartCommandBlock,Command:"setblock ~ ~2 ~-2 chain_command_block 2 replace {conditionMet:1b,auto:1b,CustomName:@,powered:0b,Command:execute @e[name=grinder] ~ ~ ~ detect ~ ~ ~ pumpkin 0 scoreboard players set @e[r=0,c=1,type=AreaEffectCloud] grinderdir 4,id:Control,x:0,y:4,z:8}",Passengers:[{id:MinecartCommandBlock,Command:setblock ~ ~1 ~ wall_sign 3 replace {Text1:"{\\\"text\\\":\\\"\\\",\\\"Bold\\\":\\\"true\\\"}",Text2:"{\\\"text\\\":\\\"Click to\\\",\\\"color\\\":\\\"dark_red\\\",\\\"bold\\\":\\\"true\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/fill ~ ~2 ~ ~ ~-4 ~-11 air\\\"}}",Text3:"{\\\"text\\\":\\\"Remove\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":\\\"true\\\"}",Text4:"{\\\"text\\\":\\\"\\\",\\\"Bold\\\":\\\"true\\\"}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~ ~2 ~ wall_sign 3 replace {Text1:"{\\\"text\\\":\\\"\\\",\\\"Bold\\\":\\\"true\\\"}",Text2:"{\\\"text\\\":\\\"Grinder\\\",\\\"color\\\":\\\"dark_purple\\\",\\\"bold\\\":\\\"true\\\"}",Text3:"{\\\"text\\\":\\\"by Rsdg\\\",\\\"color\\\":\\\"light_purple\\\",\\\"bold\\\":\\\"true\\\"}",Text4:"{\\\"text\\\":\\\"\\\",\\\"Bold\\\":\\\"true\\\"}"},Passengers:[{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-2 ~-1 ~ ~ ~1 air},Passengers:[{id:MinecartCommandBlock,Command:setblock ~ ~ ~2 redstone_block,Passengers:[{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}]}
No comments:
Post a Comment