Advertisement
MetaDestroyer

Custom Bombs

Feb 11th, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. FILL CLOCK
  2.  
  3. /fill ~8 ~-1 ~ ~ ~-1 ~ redstone_block
  4. /fill ~8 ~1 ~ ~ ~ ~ air
  5.  
  6. SCOREBOARD:
  7. /scoreboard objectives add Bomb dummy
  8.  
  9. CLOCK COMMANDS:
  10. /scoreboard players set @e[type=Item] Bomb 1 {Item:{id:"minecraft:coal"}}
  11. /scoreboard players set @e[type=Item] Bomb 2 {Item:{id:"minecraft:diamond"}}
  12. /scoreboard players set @e[type=Item] Bomb 3 {Item:{id:"minecraft:gold_ingot"}}
  13. /scoreboard players set @e[type=Item] Bomb 4 {Item:{id:"minecraft:emerald"}}
  14.  
  15. Normal Bomb:
  16. /execute @e[type=Item,score_Bomb_min=1,score_Bomb=1] ~ ~ ~ /playsound mob.creeper.say @a ~ ~ ~ 90 1 1
  17. /execute @e[type=Item,score_Bomb_min=1,score_Bomb=1] ~ ~ ~ /particle hugeexplosion ~ ~ ~ 1 1 1 1 10
  18. /execute @e[type=Item,score_Bomb_min=1,score_Bomb=1] ~ ~ ~ /effect @e[r=5] instant_damage 1 0 true
  19. /kill @e[type=Item,score_Bomb_min=1,score_Bomb=1]
  20.  
  21. Ice Bomb:
  22. /execute @e[type=Item,score_Bomb_min=2,score_Bomb=2] ~ ~ ~ /playsound random.orb @a ~ ~ ~ 90 1 1
  23. /execute @e[type=Item,score_Bomb_min=2,score_Bomb=2] ~ ~ ~ /playsound random.orb @a ~ ~ ~ 90 0 1
  24. /execute @e[type=Item,score_Bomb_min=2,score_Bomb=2] ~ ~ ~ /playsound random.orb @a ~ ~ ~ 90 2 1
  25. /execute @e[type=Item,score_Bomb_min=2,score_Bomb=2] ~ ~ ~ /particle magicCrit @a ~ ~ ~ 1 1 1 1 1000
  26. /execute @e[type=Item,score_Bomb_min=2,score_Bomb=2] ~ ~ ~ /effect @e[r=5] slowness 20 3 true
  27. /kill @e[type=Item,score_Bomb_min=2,score_Bomb=2]
  28.  
  29. Fire Bomb:
  30. /execute @e[type=Item,score_Bomb_min=3,score_Bomb=3] ~ ~ ~ /playsound random.fizz @a ~ ~ ~ 90 1 1
  31. /execute @e[type=Item,score_Bomb_min=3,score_Bomb=3] ~ ~ ~ /playsound mob.ghast.fireball @a ~ ~ ~ 90 1 1
  32. /execute @e[type=Item,score_Bomb_min=3,score_Bomb=3] ~ ~ ~ /particle flame @a ~ ~ ~ 1 0 1 1 1000
  33. /execute @e[type=Item,score_Bomb_min=3,score_Bomb=3] ~ ~ ~ /execute @e[r=5] ~ ~ ~ /setblock ~ ~ ~ fire
  34. /kill @e[type=Item,score_Bomb_min=3,score_Bomb=3]
  35.  
  36. Poison Bomb:
  37. /execute @e[type=Item,score_Bomb_min=4,score_Bomb=4] ~ ~ ~ /playsound random.anvil_use @a ~ ~ ~ 90 1 1
  38. /execute @e[type=Item,score_Bomb_min=4,score_Bomb=4] ~ ~ ~ /playsound random.fizz @a ~ ~ ~ 90 1 1
  39. /execute @e[type=Item,score_Bomb_min=4,score_Bomb=4] ~ ~ ~ /particle spell @a ~ ~ ~ 1 1 1 1 1000
  40. /execute @e[type=Item,score_Bomb_min=4,score_Bomb=4] ~ ~ ~ /effect @e[r=5] poison 10 1 true
  41. /kill @e[type=Item,score_Bomb_min=4,score_Bomb=4]
  42.  
  43. Creeper:
  44. /execute @e[type=Item,score_Bomb_min=1,score_Bomb=1] ~ ~ ~ /summon Creeper
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement