hokage3211

Automatic Farming In One Command! 1.9/1.10!

Aug 18th, 2016
896
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 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 ~8 ~1 ~2 stained_hardened_clay 13 hollow},{id:MinecartCommandBlock,Command:fill ~2 ~-2 ~-2 ~8 ~ ~2 stained_glass 4 0 stained_hardened_clay},{id:MinecartCommandBlock,Command:/scoreboard objectives add af_a dummy},{id:MinecartCommandBlock,Command:/scoreboard objectives add af_b dummy},{id:MinecartCommandBlock,Command:/say The automatic farming vanilla mod is now installed in the server! (Mod by hokage3211)},{id:MinecartCommandBlock,Command:setblock ~1 ~-2 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"Automatic Farming\\\",\\\"color\\\":\\\"dark_green\\\"}",Text2:"{\\\"text\\\":\\\"vanilla mod\\\",\\\"color\\\":\\\"dark_green\\\"}",Text3:"{\\\"text\\\":\\\"by Hokage3211\\\",\\\"color\\\":\\\"dark_green\\\"}",Text4:"{\\\"text\\\":\\\"YT: 321hokage\\\",\\\"color\\\":\\\"red\\\"}"}},{id:MinecartCommandBlock,Command:setblock ~1 ~-1 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\" \\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/scoreboard objectives remove af_b \\\"}}",Text2:"{\\\"text\\\":\\\"Click to\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/scoreboard objectives remove af_a\\\"},\\\"bold\\\":true}",Text3:"{\\\"text\\\":\\\"delete machine!\\\",\\\"color\\\":\\\"red\\\",\\\"bold\\\":true}",Text4:"{\\\"text\\\":\\\" \\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-2 ~-2 ~7 ~2 ~2 air\\\"}}"}},{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~-1 ~7 ~ ~1 chain_command_block 5},{id:MinecartCommandBlock,Command:setblock ~3 ~ ~ chain_command_block 3},{id:MinecartCommandBlock,Command:fill ~7 ~ ~ ~4 ~ ~ chain_command_block 4},{id:MinecartCommandBlock,Command:setblock ~7 ~ ~-1 chain_command_block 3},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~-1 chain_command_block 1},{id:MinecartCommandBlock,Command:fill ~7 ~-1 ~-1 ~4 ~-1 ~-1 chain_command_block 4},{id:MinecartCommandBlock,Command:setblock ~7 ~-1 ~ chain_command_block 2},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~1 chain_command_block 2},{id:MinecartCommandBlock,Command:fill ~7 ~-1 ~1 ~4 ~-1 ~1 chain_command_block 4},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~1 chain_command_block 1},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ chain_command_block 3},{id:MinecartCommandBlock,Command:fill ~7 ~-2 ~ ~4 ~-2 ~ chain_command_block 4},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~-1 chain_command_block 3},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~-1 repeating_command_block 5},{id:MinecartCommandBlock,Command:blockdata ~6 ~ ~1 {auto:1,Command:/execute @e[type=Item,score_af_a_min=60,score_af_b=6,score_af_b_min=6] ~ ~ ~ detect ~ ~ ~ minecraft:farmland 7 /execute @e[type=Item,score_af_a_min=60,score_af_b=6,score_af_b_min=6,c=1] ~ ~ ~ detect ~ ~1 ~ minecraft:beetroots 0 /kill @e[type=Item,score_af_a_min=60,score_af_b=6,score_af_b_min=6,c=1]}},{id:MinecartCommandBlock,Command:blockdata ~5 ~ ~1 {auto:1,Command:/execute @e[type=Item,score_af_a_min=60,score_af_b=6,score_af_b_min=6] ~ ~ ~ detect ~ ~ ~ minecraft:farmland 7 /execute @e[type=Item,score_af_a_min=60,score_af_b=6,score_af_b_min=6,c=1] ~ ~ ~ detect ~ ~1 ~ minecraft:beetroots 0 /particle happyVillager ~ ~ ~ .1 .1 .1 1 5 normal}},{id:MinecartCommandBlock,Command:blockdata ~4 ~ ~1 {auto:1,Command:/execute @e[type=Item,score_af_a_min=60,score_af_b=6,score_af_b_min=6] ~ ~ ~ detect ~ ~ ~ minecraft:farmland 7 /execute @e[type=Item,score_af_a_min=60,score_af_b=6,score_af_b_min=6,c=1] ~ ~ ~ detect ~ ~1 ~ minecraft:air 0 /setblock ~ ~1 ~ minecraft:beetroots 0 keep}},{id:MinecartCommandBlock,Command:blockdata ~3 ~ ~1 {auto:1,Command:/execute @e[type=Item,score_af_b=6,score_af_b_min=6] ~ ~ ~ detect ~ ~ ~ minecraft:farmland 7 /execute @e[type=Item,score_af_b=6,score_af_b_min=6,c=1] ~ ~ ~ detect ~ ~1 ~ minecraft:beetroots 0 /scoreboard players set @e[type=Item,score_af_a_min=10,c=1,r=0] af_a -1}},{id:MinecartCommandBlock,Command:blockdata ~3 ~ ~ {auto:1,Command:/execute @e[type=Item,score_af_a_min=60,score_af_b=5,score_af_b_min=5] ~ ~ ~ detect ~ ~ ~1 minecraft:log 3 /execute @e[type=Item,score_af_a_min=60,score_af_b=5,score_af_b_min=5,c=1] ~ ~ ~ detect ~ ~ ~ minecraft:cocoa 0 /kill @e[type=Item,score_af_a_min=60,score_af_b=5,score_af_b_min=5,c=1]}},{id:MinecartCommandBlock,Command:blockdata ~4 ~ ~ {auto:1,Command:/execute @e[type=Item,score_af_a_min=60,score_af_b=5,score_af_b_min=5] ~ ~ ~ detect ~ ~ ~1 minecraft:log 3 /execute @e[type=Item,score_af_a_min=60,score_af_b=5,score_af_b_min=5,c=1] ~ ~ ~ detect ~ ~ ~ minecraft:cocoa 0 /particle happyVillager ~ ~ ~ .1 .1 .1 1 5 normal}},{id:MinecartCommandBlock,Command:blockdata ~5 ~ ~ {auto:1,Command:/execute @e[type=Item,score_af_a_min=60,score_af_b=5,score_af_b_min=5] ~ ~ ~ detect ~ ~ ~1 minecraft:log 3 /execute @e[type=Item,score_af_a_min=60,score_af_b=5,score_af_b_min=5,c=1] ~ ~ ~ detect ~ ~ ~ minecraft:air 0 /setblock ~ ~ ~ minecraft:cocoa 0 keep}},{id:MinecartCommandBlock,Command:blockdata ~6 ~ ~ {auto:1,Command:/execute @e[type=Item,score_af_b=5,score_af_b_min=5] ~ ~ ~ detect ~ ~ ~1 minecraft:log 3 /execute @e[type=Item,score_af_b=5,score_af_b_min=5,c=1] ~ ~ ~ detect ~ ~ ~ minecraft:cocoa 0 /scoreboard players set @e[type=Item,score_af_a_min=10,c=1,r=0] af_a -1}},{id:MinecartCommandBlock,Command:blockdata ~7 ~ ~ {auto:1,Command:/execute @e[type=Item,score_af_a_min=60,score_af_b=5,score_af_b_min=5] ~ ~ ~ detect ~ ~ ~-1 minecraft:log 3 /execute @e[type=Item,score_af_a_min=60,score_af_b=5,score_af_b_min=5,c=1] ~ ~ ~ detect ~ ~ ~ minecraft:cocoa 2 /kill @e[type=Item,score_af_a_min=60,score_af_b=5,score_af_b_min=5,c=1]}},{id:MinecartCommandBlock,Command:blockdata ~7 ~ ~-1 {auto:1,Command:/execute @e[type=Item,score_af_a_min=60,score_af_b=5,score_af_b_min=5] ~ ~ ~ detect ~ ~ ~-1 minecraft:log 3 /execute @e[type=Item,score_af_a_min=60,score_af_b=5,score_af_b_min=5,c=1] ~ ~ ~ detect ~ ~ ~ minecraft:cocoa 2 /particle happyVillager ~ ~ ~ .1 .1 .1 1 5 normal}},{id:MinecartCommandBlock,Command:blockdata ~6 ~ ~-1 {auto:1,Command:/execute @e[type=Item,score_af_a_min=60,score_af_b=5,score_af_b_min=5] ~ ~ ~ detect ~ ~ ~-1 minecraft:log 3 /execute @e[type=Item,score_af_a_min=60,score_af_b=5,score_af_b_min=5,c=1] ~ ~ ~ detect ~ ~ ~ minecraft:air 0 /setblock ~ ~ ~ minecraft:cocoa 2 keep}},{id:MinecartCommandBlock,Command:blockdata ~5 ~ ~-1 {auto:1,Command:/execute @e[type=Item,score_af_b=5,score_af_b_min=5] ~ ~ ~ detect ~ ~ ~-1 minecraft:log 3 /execute @e[type=Item,score_af_b=5,score_af_b_min=5,c=1] ~ ~ ~ detect ~ ~ ~ minecraft:cocoa 2 /scoreboard players set @e[type=Item,score_af_a_min=10,c=1,r=0] af_a -1}},{id:MinecartCommandBlock,Command:blockdata ~4 ~ ~-1 {auto:1,Command:/execute @e[type=Item,score_af_a_min=60,score_af_b=4,score_af_b_min=4] ~ ~ ~ detect ~ ~ ~ minecraft:soul_sand -1 /execute @e[type=Item,score_af_a_min=60,score_af_b=4,score_af_b_min=4,c=1] ~ ~ ~ detect ~ ~1 ~ minecraft:nether_wart 0 /kill @e[type=Item,score_af_a_min=60,score_af_b=4,score_af_b_min=4,c=1]}},{id:MinecartCommandBlock,Command:blockdata ~3 ~ ~-1 {auto:1,Command:/execute @e[type=Item,score_af_a_min=60,score_af_b=4,score_af_b_min=4] ~ ~ ~ detect ~ ~ ~ minecraft:soul_sand -1 /execute @e[type=Item,score_af_a_min=60,score_af_b=4,score_af_b_min=4,c=1] ~ ~ ~ detect ~ ~1 ~ minecraft:nether_wart 0 /particle flame ~ ~.2 ~ .1 .2 .1 .01 5 normal}},{id:MinecartCommandBlock,Command:blockdata ~3 ~-1 ~-1 {auto:1,Command:/execute @e[type=Item,score_af_a_min=60,score_af_b=4,score_af_b_min=4] ~ ~ ~ detect ~ ~ ~ minecraft:soul_sand -1 /execute @e[type=Item,score_af_a_min=60,score_af_b=4,score_af_b_min=4,c=1] ~ ~ ~ detect ~ ~1 ~ minecraft:air 0 /setblock ~ ~1 ~ minecraft:nether_wart 0 keep}},{id:MinecartCommandBlock,Command:blockdata ~4 ~-1 ~-1 {auto:1,Command:/execute @e[type=Item,score_af_b=4,score_af_b_min=4] ~ ~ ~ detect ~ ~ ~ minecraft:soul_sand -1 /execute @e[type=Item,score_af_b=4,score_af_b_min=4,c=1] ~ ~ ~ detect ~ ~1 ~ minecraft:nether_wart 0 /scoreboard players set @e[type=Item,score_af_a_min=10,c=1,r=0] af_a -1}},{id:MinecartCommandBlock,Command:blockdata ~5 ~-1 ~-1 {auto:1,Command:/execute @e[type=Item,score_af_a_min=60,score_af_b=3,score_af_b_min=3] ~ ~ ~ detect ~ ~ ~ minecraft:farmland 7 /execute @e[type=Item,score_af_a_min=60,score_af_b=3,score_af_b_min=3,c=1] ~ ~ ~ detect ~ ~1 ~ minecraft:carrots 0 /kill @e[type=Item,score_af_a_min=60,score_af_b=3,score_af_b_min=3,c=1]}},{id:MinecartCommandBlock,Command:blockdata ~6 ~-1 ~-1 {auto:1,Command:/execute @e[type=Item,score_af_a_min=60,score_af_b=3,score_af_b_min=3] ~ ~ ~ detect ~ ~ ~ minecraft:farmland 7 /execute @e[type=Item,score_af_a_min=60,score_af_b=3,score_af_b_min=3,c=1] ~ ~ ~ detect ~ ~1 ~ minecraft:carrots 0 /particle happyVillager ~ ~ ~ .1 .1 .1 1 5 normal}},{id:MinecartCommandBlock,Command:blockdata ~7 ~-1 ~-1 {auto:1,Command:/execute @e[type=Item,score_af_a_min=60,score_af_b=3,score_af_b_min=3] ~ ~ ~ detect ~ ~ ~ minecraft:farmland 7 /execute @e[type=Item,score_af_a_min=60,score_af_b=3,score_af_b_min=3,c=1] ~ ~ ~ detect ~ ~1 ~ minecraft:air 0 /setblock ~ ~1 ~ minecraft:carrots 0 keep}},{id:MinecartCommandBlock,Command:blockdata ~7 ~-1 ~ {auto:1,Command:/execute @e[type=Item,score_af_b=3,score_af_b_min=3] ~ ~ ~ detect ~ ~ ~ minecraft:farmland 7 /execute @e[type=Item,score_af_b=3,score_af_b_min=3,c=1] ~ ~ ~ detect ~ ~1 ~ minecraft:carrots 0 /scoreboard players set @e[type=Item,score_af_a_min=10,c=1,r=0] af_a -1}},{id:MinecartCommandBlock,Command:blockdata ~6 ~-1 ~ {auto:1,Command:/execute @e[type=Item,score_af_a_min=60,score_af_b=2,score_af_b_min=2] ~ ~ ~ detect ~ ~ ~ minecraft:farmland 7 /execute @e[type=Item,score_af_a_min=60,score_af_b=2,score_af_b_min=2,c=1] ~ ~ ~ detect ~ ~1 ~ minecraft:potatoes 0 /kill @e[type=Item,score_af_a_min=60,score_af_b=2,score_af_b_min=2,c=1]}},{id:MinecartCommandBlock,Command:blockdata ~5 ~-1 ~ {auto:1,Command:/execute @e[type=Item,score_af_a_min=60,score_af_b=2,score_af_b_min=2] ~ ~ ~ detect ~ ~ ~ minecraft:farmland 7 /execute @e[type=Item,score_af_a_min=60,score_af_b=2,score_af_b_min=2,c=1] ~ ~ ~ detect ~ ~1 ~ minecraft:potatoes 0 /particle happyVillager ~ ~ ~ .1 .1 .1 1 5 normal}},{id:MinecartCommandBlock,Command:blockdata ~4 ~-1 ~ {auto:1,Command:/execute @e[type=Item,score_af_a_min=60,score_af_b=2,score_af_b_min=2] ~ ~ ~ detect ~ ~ ~ minecraft:farmland 7 /execute @e[type=Item,score_af_a_min=60,score_af_b=2,score_af_b_min=2,c=1] ~ ~ ~ detect ~ ~1 ~ minecraft:air 0 /setblock ~ ~1 ~ minecraft:potatoes 0 keep}},{id:MinecartCommandBlock,Command:blockdata ~3 ~-1 ~ {auto:1,Command:/execute @e[type=Item,score_af_b=2,score_af_b_min=2] ~ ~ ~ detect ~ ~ ~ minecraft:farmland 7 /execute @e[type=Item,score_af_b=2,score_af_b_min=2,c=1] ~ ~ ~ detect ~ ~1 ~ minecraft:potatoes 0 /scoreboard players set @e[type=Item,score_af_a_min=10,c=1,r=0] af_a -1}},{id:MinecartCommandBlock,Command:blockdata ~3 ~-1 ~1 {auto:1,Command:/execute @e[type=Item,score_af_a_min=60,score_af_b=1,score_af_b_min=1] ~ ~ ~ detect ~ ~ ~ minecraft:farmland 7 /execute @e[type=Item,score_af_a_min=60,score_af_b=1,score_af_b_min=1,c=1] ~ ~ ~ detect ~ ~1 ~ minecraft:wheat 0 /kill @e[type=Item,score_af_a_min=60,score_af_b=1,score_af_b_min=1,c=1]}},{id:MinecartCommandBlock,Command:blockdata ~4 ~-1 ~1 {auto:1,Command:/execute @e[type=Item,score_af_a_min=60,score_af_b=1,score_af_b_min=1] ~ ~ ~ detect ~ ~ ~ minecraft:farmland 7 /execute @e[type=Item,score_af_a_min=60,score_af_b=1,score_af_b_min=1,c=1] ~ ~ ~ detect ~ ~1 ~ minecraft:wheat 0 /particle happyVillager ~ ~ ~ .1 .1 .1 1 5 normal}},{id:MinecartCommandBlock,Command:blockdata ~5 ~-1 ~1 {auto:1,Command:/execute @e[type=Item,score_af_a_min=60,score_af_b=1,score_af_b_min=1] ~ ~ ~ detect ~ ~ ~ minecraft:farmland 7 /execute @e[type=Item,score_af_a_min=60,score_af_b=1,score_af_b_min=1,c=1] ~ ~ ~ detect ~ ~1 ~ minecraft:air 0 /setblock ~ ~1 ~ minecraft:wheat 0 keep}},{id:MinecartCommandBlock,Command:blockdata ~6 ~-1 ~1 {auto:1,Command:/execute @e[type=Item,score_af_b=1,score_af_b_min=1] ~ ~ ~ detect ~ ~ ~ minecraft:farmland 7 /execute @e[type=Item,score_af_b=1,score_af_b_min=1,c=1] ~ ~ ~ detect ~ ~1 ~ minecraft:wheat 0 /scoreboard players set @e[type=Item,score_af_a_min=10,c=1,r=0] af_a -1}},{id:MinecartCommandBlock,Command:blockdata ~7 ~-1 ~1 {auto:1,Command:"/scoreboard players set @e[type=Item] af_b 6 {Item:{id:\\\"minecraft:beetroot_seeds\\\",Count:1b}}"}},{id:MinecartCommandBlock,Command:blockdata ~7 ~-2 ~1 {auto:1,Command:"/scoreboard players set @e[type=Item] af_b 5 {Item:{id:\\\"minecraft:dye\\\",Count:1b,Damage:3s}}"}},{id:MinecartCommandBlock,Command:blockdata ~6 ~-2 ~1 {auto:1,Command:"/scoreboard players set @e[type=Item] af_b 4 {Item:{id:\\\"minecraft:nether_wart\\\",Count:1b}}"}},{id:MinecartCommandBlock,Command:blockdata ~5 ~-2 ~1 {auto:1,Command:"/scoreboard players set @e[type=Item] af_b 3 {Item:{id:\\\"minecraft:carrot\\\",Count:1b}}"}},{id:MinecartCommandBlock,Command:blockdata ~4 ~-2 ~1 {auto:1,Command:"/scoreboard players set @e[type=Item] af_b 2 {Item:{id:\\\"minecraft:potato\\\",Count:1b}}"}},{id:MinecartCommandBlock,Command:blockdata ~3 ~-2 ~1 {auto:1,Command:"/scoreboard players set @e[type=Item] af_b 1 {Item:{id:\\\"minecraft:wheat_seeds\\\",Count:1b}}"}},{id:MinecartCommandBlock,Command:blockdata ~3 ~-2 ~ {auto:1,Command:/execute @e[type=Item,score_af_a_min=0] ~ ~ ~ detect ~ ~ ~ minecraft:water -1 /scoreboard players set @e[type=Item,score_af_a_min=0,c=1] af_a -1}},{id:MinecartCommandBlock,Command:blockdata ~4 ~-2 ~ {auto:1,Command:/execute @e[type=Item,score_af_a_min=0] ~ ~ ~ detect ~ ~-1 ~ minecraft:water -1 /scoreboard players set @e[type=Item,score_af_a_min=0,c=1] af_a -1}},{id:MinecartCommandBlock,Command:blockdata ~5 ~-2 ~ {auto:1,Command:/scoreboard players set @e[type=Item,score_af_a_min=65] af_a -1}},{id:MinecartCommandBlock,Command:blockdata ~6 ~-2 ~ {auto:1,Command:/scoreboard players add @e[type=Item,score_af_a_min=0] af_a 1 {Item:{Count:1b}}}},{id:MinecartCommandBlock,Command:blockdata ~7 ~-2 ~ {auto:1,Command:"/scoreboard players add @e[type=Item] af_a 0 {Item:{id:\\\"minecraft:beetroot_seeds\\\",Count:1b}}"}},{id:MinecartCommandBlock,Command:blockdata ~7 ~-2 ~-1 {auto:1,Command:"/scoreboard players add @e[type=Item] af_a 0 {Item:{id:\\\"minecraft:dye\\\",Count:1b,Damage:3s}}"}},{id:MinecartCommandBlock,Command:blockdata ~6 ~-2 ~-1 {auto:1,Command:"/scoreboard players add @e[type=Item] af_a 0 {Item:{id:\\\"minecraft:nether_wart\\\",Count:1b}}"}},{id:MinecartCommandBlock,Command:blockdata ~5 ~-2 ~-1 {auto:1,Command:"/scoreboard players add @e[type=Item] af_a 0 {Item:{id:\\\"minecraft:carrot\\\",Count:1b}}"}},{id:MinecartCommandBlock,Command:blockdata ~4 ~-2 ~-1 {auto:1,Command:"/scoreboard players add @e[type=Item] af_a 0 {Item:{id:\\\"minecraft:potato\\\",Count:1b}}"}},{id:MinecartCommandBlock,Command:blockdata ~3 ~-2 ~-1 {auto:1,Command:"/scoreboard players add @e[type=Item] af_a 0 {Item:{id:\\\"minecraft:wheat_seeds\\\",Count:1b}}"}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 0 {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block},{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]}
RAW Paste Data