Advertisement
MuteTiefling

Untitled

Dec 3rd, 2015
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. RUC = Repeating Unconditional Command Block
  2. CUC = Chain Unconditional Command Block
  3. CCC = Chain Conditional Command Block
  4.  
  5. Each set is a single row of connected command blocks
  6.  
  7. RUC > scoreboard objectives add block dummy
  8. CUC > scoreboard players set @e[type=Enderman] block 1
  9. CUC > entitydata @e[type=Enderman,score_block_min=1] {carried:minecraft:barrier}
  10. CUC > execute @e[type=Enderman,score_block_min=1] ~ ~ ~ fill ~-2 ~-2 ~-2 ~2 ~2 ~2 air 0 replace barrier
  11.  
  12.  
  13.  
  14. RUC > scoreboard objectives add timer stat.timeSinceDeath
  15. CUC > execute @a[score_timer_min=100] ~ ~ ~ fill ~-2 ~-2 ~-2 ~2 ~2 ~2 air 0 replace barrier
  16. CCC > scoreboard players set @a[score_timer_min=100] timer 0
  17.  
  18.  
  19.  
  20. RUC > scoreboard objectives add BarrierClean dummy
  21. CUC > scoreboard players set @e[type=Item] BarrierClean 1 {Item:{id:minecraft:barrier}}
  22. CCC > kill @e[type=Item,score_BarrierClean=1,score_BarrierClean_min=1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement