mojira.dev
MC-312893

Horse's gallopSoundCounter is not reset properly

According to Horse.playStepSound, the first 5 galloping sounds after starting to move forward is intended to be entity.horse.step_wood. However, gallopSoundCounter doesn’t seem to be reset properly for some reason, which results in that only 5 galloping sound after spawning or world restarting becomes entity.horse.step_wood.

How to reproduce

  • Turn on subtitles so that you can easily distinguish sounds.

  • Spawn a Horse.

    • Though this isn’t essential, you should give it enough food to tame it in one attempt, in order to simplify the situation.

  • Ride on it and observe its first 5 sounds are entity.horse.step_wood(subtitle: Footsteps).

  • Observe that all subsequent sounds are entity.horse.gallop (subtitle: ​Horse gallops), and entity.horse.step_wood is never played even if you move forward after stopping/re-mounting/retreating.

  • Relog try it again. Observe first 5 sounds are entity.horse.step_wood again, and it is never played afterwards.

Comments 0

No comments.

Mueller857

(Unassigned)

Unconfirmed

26.3, 26.4 Snapshot 5

Retrieved