mojira.dev
MC-306802

Mannequins cannot swing their main hand (missing swing update)

Hello Minecraft Development Team,

In Minecraft 1.21.11 and snapshot 26w11a, mannequins are unable to perform a main-hand swing animation.

While investigating this behavior using mcp-reborn, I noticed that the swing animation never progresses because the swing timer is not updated on the client side.

Specifically, the issue appears to be that updateSwingTime() is never called for mannequins.

If updateSwingTime() is called inside the tick() method of ClientMannequin, the swing animation works correctly.

Example (simplified):

@Override
public void tick() {
    super.tick();
    this.updateSwingTime();
}

After adding this call, mannequins are able to swing their hands as expected.

However, I am not deeply familiar with the client implementation, so I am not sure if there is a specific reason why this call is intentionally omitted or if this is simply an oversight.

Comments 0

No comments.

t0bx

(Unassigned)

Plausible

(Unassigned)

26.1 Snapshot 11

Retrieved