Advertisement
Guest User

enderbomb

a guest
Feb 14th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. --objectives--
  2. /scoreboard objectives add timer dummy
  3.  
  4. --give command--
  5. /give @p minecraft:spawn_egg 1 0 {EntityTag:{id:"Enderman",NoAI:1b,display:{Name:"EnderBomb"},ActiveEffects:[{Id:14,Amplifier:1,Duration:99999}]},Silent:1b,ench:[]}
  6.  
  7. --clock commands--
  8. /scoreboard players add @e[type=Enderman] timer 1
  9. /execute @a[m=2] ~ ~ ~ execute @e[type=Enderman,r=4] ~ ~ ~ summon FireworksRocketEntity ~ ~10 ~ {LifeTime:0,FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:1,Trail:1,Colors:[9437439],FadeColors:[13893887,16711867]}]}}}}
  10. /execute @a[m=2] ~ ~ ~ execute @e[type=Enderman,r=4] ~ ~ ~ summon Creeper ~ ~10 ~ {Fuse:0s,CustomName:"Ender Bomb",ExplosionRadius:5}
  11. /execute @e[type=Enderman] ~ ~ ~ tp @a[r=3,m=2] ~ ~10 ~
  12. /kill @e[type=Enderman,score_timer_min=200]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement