Mojira Archive
MC-145114

Pillagers don't properly aim when shooting fireworks

The bug

When a pillager shoots fireworks, it treats them as arrows, causing them to shoot a bit too high.

How to reproduce

Use the following command to summon a pillager that shoots explosive firework rockets:

/summon minecraft:pillager ~ ~ ~ {HandItems:[{id:crossbow,Count:1b},{id:firework_rocket,Count:64b,tag:{Fireworks:{Flight:2,Explosions:[{Type:0,Flicker:0,Trail:0,Colors:[I;4408131],FadeColors:[I;1973019]}]}}}]}

As the pillager fights, it will rarely hit its target because it shoots quite high.