In Java Edition, adult zombified piglins move at the same speed as adult zombies if they’re calm, with a speed value of 0.23. When angered, their movement speed increases to 0.28. Baby zombified piglins move at the same speed as baby zombies, with a value of 0.35, no matter if angry or calm.
In Bedrock Edition, however, both adult and baby zombified piglins move at a speed value of 0.23 when calm. And when angered, their speed multiplies by 1.5, increasing their speed to 0.35, resulting in both having the same movement speed as baby zombies.
Steps to reproduce:
Spawn an adult and baby zombified piglin using commands:
/summon zombie_pigman ~~~~~ spawn_adultand/summon zombie_pigman ~~~~~ spawn_baby.Hit one of them and let them chase you.
Observe their movement speeds.
Expected results:
The baby moves faster than the adult.
Actual results:
Both move equally fast.
Additional notes:
Preview 1.21.90.21 decreased angry zombified piglins' movement speed to match Java. However, it got reverted a few previews later, because it did not actually match Java Edition, with their
speed_multiplierinminecraft:behavior.melee_box_attackbeing decreased from 1.5 to 1.05.
The fix:
The
speed_multiplierinminecraft:behavior.melee_box_attackandminecraft:behavior.use_kinetic_weaponshould be changed from 1.5 to 1.22, as, using math, 0.28 divided by 0.23 is 1.217…Add the
minecraft:movementcomponent tominecraft:pig_zombie_babycomponent group, with a value of 0.35, and also add theminecraft:behavior.melee_box_attackandminecraft:behavior.use_kinetic_weaponAI Goal components to it with nospeed_multiplier.
I attached two videos of zombified piglins speed, one is vanilla, the other uses a behavior pack that shows the intended speed.
Thank you for helping us improve Minecraft! We saved your files: