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
Linked issues
is duplicated by 1
Comments 6
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.
I can confirm.