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
is duplicated by 1
relates to 2
Comments 6
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?
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.
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)
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