mojira.dev
MC-298101

Sniffers now show the digging animation instead of the walking animation

This behavior was introduced in 25w21a.

Rather than walking normally, sniffers have an incorrect crawling animation.

Steps to reproduce

  1. Spawn a sniffer.

  2. Wait for it to start moving.

  3. Observe that it crawls instead of walking.

Observed behavior

The sniffer will crawl along the ground.

Expected behavior

The sniffer would walk with its feet.

Code analysis (official mappings)

The field used to control the animation in the SnifferModel class is initialized incorrectly, possibly due to a copy-paste error:

- this.walkAnimation = SnifferAnimation.SNIFFER_DIG.bake(arg);
+ this.walkAnimation = SnifferAnimation.SNIFFER_WALK.bake(arg);

Linked issues

Attachments

Comments 0

No comments.

haykam

gegy

Confirmed

Platform

Very Important

Entities, Mob behaviour

25w21a

1.21.6 Pre-Release 1

Retrieved