mojira.dev
MCPE-67292

Entities that don't walk aren't visually knocked back when killed

MCPE-19222 has not been fully fixed; some entities that don't walk aren't knocked back when killed, plus status effects and explosions that kill entities don't knock any entity back.

The bug

The parrot, phantom, cod, salmon, tropical fish, pufferfish, and bee have their model locked client-side when killed; only their hitbox is knocked back, therefore making experience appear away from their visual position. However, the squid, bat, blaze, ghast, guardian, elder guardian, and dolphin are unaffected.

Video Example

https://youtu.be/UWFNbh3Cims

Linked issues

Comments 6

I can confirm.

I cannot reproduce this with parrots in 1.16.100, but all other mobs listed in the report work.

Yeah couldn't reproduce with parrots, their death animation is now completely fixed.

Parrot is only affected when it is flying, which is why I couldn’t reproduce.

Looking into the codes of these mobs shows that the code "minecraft:physics, has_gravity" was set to false instead of true, which is causing any flying creatures such as tropical fish, cod, salmon, pufferfish, parrots, phantoms, bees, allays, and vexes unable to take the usual knockback upon death.

The listed entities are not knocked back at all. Their experience appears at a different location than death because they continue to move around while dead (MCPE-45081).

Working with a stationary custom mob, I found that it took knockback only after I gave it the "minecraft:movement.basic": {}  component.

Makzevu

(Unassigned)

414503

Confirmed

Multiple

1909 (18363.535)

1.19.0.25 Preview, 1.18.30.27 Preview, 1.18.30.26 Beta, 1.18.10.26 Beta, 1.18.0.22 Beta, ..., 1.19.51, 1.19.60, 1.20.12 Hotfix, 1.20.51 Hotfix, 1.21.0

Retrieved