Mojira Archive
MC-232770

Entities receive knockback from incorrect directions when being damaged by firework explosions

Firework explosions are pushing player in random directions instead of pushing him away from the explosion like TNT does. This is because fireworks deal knockback away from their owner and not from themselves like other explosions. You can test this by launching fireworks by hand near a mob.

Steps to Reproduce:

  1. Make sure you're on survival/adventure gamemode.
  2. Get a crossbow and some exploding fireworks.
  3. Shoot fireworks on the ground a few times.
  4. Write down your observations.

Observed Results:

  1. Player is being pushed in random directions.

Expected Results:

  1. Player should be pushed away from the explosion.

Fixed

Karczoszek

[Mojang] SHugoh

2021-07-21, 03:55 PM

2024-05-02, 02:26 PM

2024-05-02, 11:45 AM

13

5

Confirmed

Projectiles

1.17.1 - 1.19.21.17.1, 21w38a, 1.18.2, 1.19, 1.19.2

24w18a