mojira.dev
MC-2376

Wolves shaking fur dry while dying

The bug

A wolf had climbed out of the water and I killed it. As it died (and fell off to the side), it performed its shaking animation for it drying off.

Code analysis

Code analysis by @unknown can be found in this comment.

Linked issues

Comments 6

Krystee Sulosson

Retested and confirmed in Minecraft version 1.6.4 using Launcher 1.2.5. Surprised to get an email about this after so long xD

Is there a special test case for this to happen? I'm not seeing anything like it in 1.8.7. Anyone with knowledge of this want to test with the latest version?

Krystee Sulosson

Can confirm that this still plagues Minecraft v1.8.7. Here's a video I recorded tonight (no audio) of the bug in action, with a simple way to recreate it consistently.

https://youtu.be/5h8RZOhJ7jA

Please link to this comment in the description

The following is based on a decompiled version of Minecraft 1.10 using MCP 9.30.

The following methods (or parts of them) should probably test first if the wolf is dead:

  • net.minecraft.entity.passive.EntityWolf.onUpdate()

  • net.minecraft.entity.passive.EntityWolf.getShakeAngle(float, float)

  • net.minecraft.entity.passive.EntityWolf.getInterestedAngle(float)

Can confirm for MC 1.12.1.

Confirmed for 1.13.1. Please, if you don't mind, I'd like to be the reporter of this ticket, I'll update it accordingly.

Krystee Sulosson

Kraif

migrated

Confirmed

animation, water, wolf

Minecraft 1.4.2, Minecraft 1.4.5, Minecraft 1.4.7, Minecraft 1.5, Minecraft 1.6.4, ..., Minecraft 1.12.1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w04b, Minecraft 19w05a

Minecraft 19w11a

Retrieved