Advertisement
Curcuit_Blocks

Minecraft Poison Heal Stones | 1 Command

Aug 30th, 2016
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.49 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:/fill ~2 ~-2 ~-1 ~6 ~4 ~1 minecraft:stained_hardened_clay 5 hollow},{id:"MinecartCommandBlock",Command:/fill ~2 ~-1 ~-1 ~6 ~3 ~1 minecraft:stained_glass 5 replace minecraft:stained_hardened_clay},{id:"MinecartCommandBlock",Command:/fill ~3 ~ ~ ~3 ~3 ~ minecraft:stained_hardened_clay 5},{id:"MinecartCommandBlock",Command:/setblock ~3 ~-1 ~ minecraft:chain_command_block 1 0 {auto:1b,Command:kill @e[tag=HealPoisonStone]}},{id:"MinecartCommandBlock",Command:/summon FallingSand ~4 ~-1 ~ {Block:chain_command_block,Data:4,TileEntityData:{Command:/execute @e[tag=HealPoisonStone] ~ ~ ~ effect @p wither 0 0},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:0,TileEntityData:{auto:1b,Command:/execute @e[tag=HealPoisonStone] ~ ~ ~ effect @p poison 0 0},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:repeating_command_block,Data:0,TileEntityData:{auto:1b,Command:/scoreboard players tag @e[type=Item,name=!NoHealP] add HealPoisonStone {Item:{tag:{HealStonePW:1b}}}},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:0,TileEntityData:{Command:entitydata @e[tag=PoisonMined] {Tags:[],Item:{id:"minecraft:dye",Damage:10s,tag:{HealStonePW:1b,ench:[],display:{Name:"Poison Stone",Lore:["Cures wither and", "poison when thrown."]}}},Age:0,PickUpDelay:10s,CustomName:"NoHealP"}},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:0,TileEntityData:{Command:/execute @e[tag=MinePoison] ~ 5 ~ execute @a[r=5,tag=MinePoison] ~ ~ ~ scoreboard players tag @e[type=Item] add PoisonMined {Item:{id:"minecraft:cobblestone",Count:1b},PickupDelay:10s,Age:0s}},Time:1,DropItem:0}]}]}]}]}},{id:"MinecartCommandBlock",Command:/summon FallingSand ~5 ~-1 ~ {Block:repeating_command_block,Data:1,TileEntityData:{auto:1b,Command:/scoreboard players add PoisonHeal PackTimer 1},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:1,TileEntityData:{Command:/scoreboard players test PoisonHeal PackTimer 8},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:9,TileEntityData:{Command:/scoreboard players set PoisonHeal PackTimer 0},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:repeating_command_block,Data:9,TileEntityData:{auto:1b,Command:/scoreboard players tag @a remove MinePoison},Time:1,DropItem:0,Passengers:[{id:"FallingSand",Block:chain_command_block,Data:4,TileEntityData:{Command:/scoreboard players tag @a add MinePoison {ActiveEffects:[{Id:19b}]}},Time:1,DropItem:0}]}]}]}]}},{id:MinecartCommandBlock,Command:setblock ~1 ~2 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"Click here\\\",\\\"color\\\":\\\"dark_red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/particle explode ~3 ~-1 ~ 1.5 3 1 .01 100 normal\\\"}}",Text2:"{\\\"text\\\":\\\"to remove\\\",\\\"color\\\":\\\"dark_red\\\"}",Text3:"{\\\"text\\\":\\\"this machine\\\",\\\"color\\\":\\\"dark_red\\\"}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-4 ~-1 ~5 ~2 ~1 air\\\"}}"}},{id:"MinecartCommandBlock",Command:/setblock ~ ~1 ~ command_block 1 0 {auto:1b,Command:fill ~ ~ ~ ~ ~-2 ~ air}},{id:"MinecartCommandBlock",Command:kill @e[r=2,type=MinecartCommandBlock]}]}]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement