Guest User

Minecraft Execute at Block

a guest
May 15th, 2014
1,022
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. /scoreboard objectives add BlockExecute dummy
  2.  
  3. /fill ~7 ~-1 ~ ~ ~-1 ~ redstone_block
  4. /fill ~7 ~1 ~ ~ ~1 ~ sponge
  5.  
  6. /execute @a ~-2 ~-2 ~-2 /fill ~ ~ ~ ~4 ~4 ~4 double_plant 0 replace <BLOCK>
  7. /execute @a ~-4 ~-4 ~-4 /fill ~ ~ ~ ~8 ~8 ~8 double_plant 0 replace <BLOCK>
  8.  
  9. /scoreboard players set @e[type=Item] BlockExecute 1 {Age:0s,Item:{id:minecraft:double_plant}}
  10.  
  11. /execute @e[score_BlockExecute=1,score_BlockExecute_min=1] ~ ~ ~ <COMMAND(S)>
  12.  
  13. /kill @e[score_BlockExecute=1,score_BlockExecute_min=1]
  14.  
  15. /scoreboard players reset * BlockExecute
Advertisement
Add Comment
Please, Sign In to add comment