Curcuit_Blocks

Ear Plugs | Minecraft | 1 Command

Feb 6th, 2017
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. /summon falling_block ~ ~1 ~ {Block:"redstone_block",Time:3,Passengers:[{id:"falling_block",Block:"activator_rail",Time:3,Passengers:[{id:"commandblock_minecart",Command:/gamerule commandBlockOutput false},{id:"commandblock_minecart",Command:/fill ~2 ~-2 ~-1 ~5 ~3 ~1 wool 0 hollow},{id:"commandblock_minecart",Command:/fill ~2 ~-1 ~-1 ~5 ~2 ~1 stained_glass 8 replace wool},{id:"commandblock_minecart",Command:/summon falling_block ~3 ~-1 ~ {Block:repeating_command_block,Data:1,TileEntityData:{auto:1b,Command:/scoreboard players tag @e[type=item] add EarPlugA {Item:{id:"minecraft:wool",Count:2b},OnGround:1b}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,Data:1,TileEntityData:{Command:/scoreboard players tag @e[type=item] add EarPlugB {Item:{id:"minecraft:stick",Count:2b},OnGround:1b}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,Data:1,TileEntityData:{Command:/execute @e[tag=EarPlugA] ~ ~ ~ /scoreboard players tag @e[type=item,tag=EarPlugB,dx=0] add EarPlugC},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,Data:5,TileEntityData:{Command:/execute @e[tag=EarPlugA] ~ ~ ~ /scoreboard players tag @e[type=item,tag=EarPlugB,dx=0] add EarPlugC},Time:1,DropItem:0}]}]}]}},{id:"commandblock_minecart",Command:/summon falling_block ~4 ~-1 ~ {Block:chain_command_block,Data:5,TileEntityData:{Command:execute @e[tag=EarPlugC] ~ ~ ~ /summon item ~ ~1 ~ {Motion:[0.0f,0.3f,0.0f],Item:{id:"leather_helmet",Count:1b,tag:{EarPlugCB:1b,AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:0,Operation:0,UUIDLeast:692051,UUIDMost:30580,Slot:"head"}],ench:[{id:-1}],display:{color:16777215,LocName:"Ear Plugs"}}}}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,Data:0,TileEntityData:{Command:/stopsound @a[tag=WearEarPlug]},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,Data:0,TileEntityData:{Command:/scoreboard players tag @a add WearEarPlug {Inventory:[{Slot:103b,tag:{EarPlugCB:1b}}]}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,Data:0,TileEntityData:{Command:/scoreboard players tag @a remove WearEarPlug},Time:1,DropItem:0}]}]}]}},{id:"commandblock_minecart",Command:/setblock ~5 ~-1 ~ chain_command_block 1 0 {auto:1b,Command:execute @e[tag=EarPlugC] ~ ~ ~ kill @e[type=item,c=2,dx=0]}},{id:"commandblock_minecart",Command:setblock ~1 ~1 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"click here\\\",\\\"color\\\":\\\"dark_red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/particle explode ~3 ~ ~ 1 3 1 .01 75 normal\\\"}}",Text2:"{\\\"text\\\":\\\"to remove\\\",\\\"color\\\":\\\"dark_red\\\"}",Text3:"{\\\"text\\\":\\\"this machine\\\",\\\"color\\\":\\\"dark_red\\\"}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-3 ~-1 ~4 ~2 ~1 air\\\"}}"}},{id:"commandblock_minecart",Command:/setblock ~ ~1 ~ command_block 1 0 {auto:1b,Command:fill ~ ~ ~ ~ ~-2 ~ air}},{id:"commandblock_minecart",Command:kill @e[r=2,type=commandblock_minecart]}]}]}
Advertisement
Add Comment
Please, Sign In to add comment