mojira.dev
MC-144928

Endermen don't try to avoid fireworks

When an enderman is about to get hit by a firework spawned by a player or dispenser, it does not teleport away, unlike when the enderman is about to get hit by a snowball, egg, ender pearl, arrow, trident, or fireball (large or small). Expected is that they treat the fireworks like ghast fireballs; they teleport away from direct impact, but they could still be damaged if they are close to the fireball explosion.

To reproduce:

  1. Give yourself an explosive firework using the following command 

    give @p firework_rocket{Fireworks:{Flight:2,Explosions:[{Type:0,Flicker:0,Trail:0}]}} 1
  1. Light the firework at least one block under the enderman via placing it or using a dispenser. Alternatively you can also shoot one directly at an enderman using a crossbow.

 ❌ The enderman will not teleport away, and instead take damage while glitching out.

Linked issues

Attachments

Comments 2

Ugo Flickerman

This bug should e reopened. I can reproduce it in 1.21.3: shooting an enderman with a firework just ends up with an enderman being hit with it and taking damage, as shown in the video attached to the ticket

[media]

I mean, either reopen this, or update MC-109147 so it doesn't say it's been fixed. Unless this is the intended behaviour, but i guess it'd be written as the solution instead of just "fixed"

Ugo Flickerman

This applies to not exploding fireworks too

[media]

gaspoweredpick

coschevi

Unconfirmed

avoid, crossbow, dispenser, enderman, fireworks_rocket, projectile, shooting, teleport

Minecraft 1.13.2, Minecraft 19w08b, Minecraft 19w09a

Minecraft 19w11a

Retrieved