mojira.dev
MCPE-229863

The shaking animation of the left arm in animation.zombie.melee_spear_use is incorrectly mirrored

The shaking animations of the left arm on animation.zombie.melee_spear_use (which is used by the Zombies) are incorrectly mirrored, as both left hand and right hand shake at the same direction, which doesn't match Java Edition.

Steps to reproduce:

  1. Summon a Zombie, and then trap them in the boat

  2. Run this command: /replaceitem entity @e[type=!player] slot.weapon.mainhand 0 netherite_spear

  3. Change your gamemode to survival

  4. Wait until the spear entering tired stage

  5. Observe

Expected results:
The shake direction of the left hand are inverted, matching Java edition.

Observed results:
Both left hand and right hand shake at the same direction.

This can be fixed by changing the Y rotation of the leftarm bones in animation.zombie.melee_spear_use from this:
"math.clamp(q.target_y_rotation, -60.0, 45.0) - this + v.tp_melee_spear_use_arm_rotation_y"

To this:
"math.clamp(q.target_y_rotation, -60.0, 45.0) - this - v.tp_melee_spear_use_arm_rotation_y"

Attachments

Comments 0

No comments.

KejuGorenk

(Unassigned)

1505221

Confirmed

Windows

1.21.130.22 Preview, 1.21.130.24 Preview

1.21.130.27 Preview

Retrieved