Advertisement
Curcuit_Blocks

Animal Traps In One Command | Minecraft

Aug 13th, 2016
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.50 KB | None | 0 0
  1. /summon FallingSand ~ ~1 ~ {Block:"redstone_block",Time:3,Passengers:[{id:"FallingSand",Block:"activator_rail",Time:3,Passengers:[{id:"MinecartCommandBlock",Command:/gamerule commandBlockOutput false},{id:"MinecartCommandBlock",Command:/scoreboard objectives add PackTimer dummy},{id:"MinecartCommandBlock",Command:/scoreboard objectives add TTLife dummy},{id:"MinecartCommandBlock",Command:/fill ~2 ~-2 ~-1 ~8 ~2 ~1 stained_glass 7 hollow},{id:"MinecartCommandBlock",Command:/fill ~2 ~-2 ~-1 ~8 ~-2 ~1 stained_hardened_clay 9 hollow},{id:"MinecartCommandBlock",Command:/fill ~2 ~2 ~-1 ~8 ~2 ~1 stained_hardened_clay 9 hollow},{id:"MinecartCommandBlock",Command:/summon FallingSand ~3 ~-1 ~ {Block:repeating_command_block,Data:5,TileEntityData:{auto:1b,Command:/scoreboard players add AnimTrap PackTimer 1},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:repeating_command_block,Data:1,TileEntityData:{auto:1b,Command:/execute @e[tag=ATrap] ~ ~ ~ teleport @e[tag=TrapAble,dy=1] ~ ~1 ~},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:5,TileEntityData:{Command:/scoreboard players tag @e[tag=!TrapAble,type=Cow] add TrapAble},Time:1,DropItem:0}]}]}},{id:"MinecartCommandBlock",Command:/summon FallingSand ~4 ~-1 ~ {Block:chain_command_block,Data:5,TileEntityData:{Command:/scoreboard players test AnimTrap PackTimer 20},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:4,TileEntityData:{Command:/execute @e[tag=ATrap] ~ ~ ~ detect ~ ~1 ~ air -1 kill @e[c=1,tag=ATrap]},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:5,TileEntityData:{Command:/scoreboard players tag @e[tag=!TrapAble,type=Pig] add TrapAble},Time:1,DropItem:0}]}]}},{id:"MinecartCommandBlock",Command:/summon FallingSand ~5 ~-1 ~ {Block:chain_command_block,Data:13,TileEntityData:{Command:/scoreboard players set AnimTrap PackTimer 0},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:4,TileEntityData:{Command:kill @e[tag=SpawnATrap]},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:5,TileEntityData:{Command:/scoreboard players tag @e[tag=!TrapAble,type=Sheep] add TrapAble},Time:1,DropItem:0}]}]}},{id:"MinecartCommandBlock",Command:/summon FallingSand ~6 ~-1 ~ {Block:repeating_command_block,Data:13,TileEntityData:{auto:1b,Command:/execute @e[type=Item] ~ ~ ~ detect ~ ~ ~ rail -1 /scoreboard players tag @e[type=Item,dx=0] add IronAT {Item:{id:"minecraft:iron_ingot",Count:2b}}},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:4,TileEntityData:{Command:/execute @e[tag=SpawnATrap] ~ ~ ~ kill @e[tag=IronAT,c=1]},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:5,TileEntityData:{Command:/scoreboard players tag @e[tag=!TrapAble,type=MushroomCow] add TrapAble},Time:1,DropItem:0}]}]}},{id:"MinecartCommandBlock",Command:/summon FallingSand ~7 ~-1 ~ {Block:chain_command_block,Data:1,TileEntityData:{Command:/execute @e[tag=IronAT] ~ ~ ~ detect ~ ~ ~ rail -1 summon LeashKnot ~ ~-1 ~ {Tags:["SpawnATrap"]}},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:4,TileEntityData:{Command:/execute @e[tag=SpawnATrap] ~ ~ ~ /summon ArmorStand ~ ~-.5 ~ {NoGravity:1b,Tags:["ATrap"],ArmorItems:[{},{},{},{id:"iron_block"}],Pose:{Head:[0.0f,0.0f,180.0f]},Invisible:1b,DisabledSlots:31}},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:stained_hardened_clay,Data:9,Time:1,DropItem:0}]}]}},{id:"MinecartCommandBlock",Command:kill @e[r=2,type=MinecartCommandBlock]}]}]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement