mojira.dev
MC-145974

Firework rockets shot from players don't have the correct velocity

When a pillager shoots a firework rocket, the rocket moves at the correct velocity.
Use the following command to summon an explosive firework shooting pillager:

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]}]}}}]}

When a player shoots a firework rocket, the rocket travels way too fast and sometimes doesn't even render the explosion in certain cases.
Use the following command to give yourself a crossbow that is loaded with an explosive firework rocket:

give @p minecraft:crossbow{Charged:1,ChargedProjectiles:[{id:"firework_rocket",Count:1,tag:{Fireworks:{Flight:2,Explosions:[{Type:0,Flicker:0,Trail:0,Colors:[I;4408131],FadeColors:[I;1973019]}]}}}]}

Linked issues

Comments 0

No comments.

gaspoweredpick

coschevi

Confirmed

Entities

Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12a, Minecraft 19w12b, Minecraft 19w13a, Minecraft 19w13b, Minecraft 19w14a

Minecraft 19w14b

Retrieved