mojira.dev
MCPE-244724

Zombified piglins movement speed is not the same as Java Edition

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:

  1. Spawn an adult and baby zombified piglin using commands: /summon zombie_pigman ~~~~~ spawn_adult and /summon zombie_pigman ~~~~~ spawn_baby.

  2. Hit one of them and let them chase you.

  3. 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_multiplier in minecraft:behavior.melee_box_attack being decreased from 1.5 to 1.05.

The fix:

  • The speed_multiplier in minecraft:behavior.melee_box_attack and minecraft:behavior.use_kinetic_weapon should be changed from 1.5 to 1.22, as, using math, 0.28 divided by 0.23 is 1.217…

  • Add the minecraft:movement component to minecraft:pig_zombie_baby component group, with a value of 0.35, and also add the minecraft:behavior.melee_box_attack and minecraft:behavior.use_kinetic_weapon AI Goal components to it with no speed_multiplier.

I attached two videos of zombified piglins speed, one is vanilla, the other uses a behavior pack that shows the intended speed.

Attachments

Comments 2

Thank you for helping us improve Minecraft! We saved your files:

[media][media]

Hello oh and btw do u know u cannot join hive (specifically for Southeast asia) oh and it is because of the internet and others…

CodeCorrecter

(Unassigned)

Unconfirmed

Multiple

26.70.22 Preview, 26.70.24 Preview, 26.70.26 Preview, 26.60, 26.62 Hotfix, 26.63 Hotfix, 26.65 Hotfix, 26.66 Hotfix, 27.0.20 Preview

Retrieved