Mojira Archive
MC-99603

Wolves, Dogs, and Ocelots fall out of the world

Wolves, Dogs, and Ocelots fall through the world when they try to attack something that is directly above them. This seems to only happen when the x and z coordinates of the animals and their targets are exactly the same.

I would expect them to just stand underneath the target and look up at it like a zombie does with villagers.

What actually happens is that they try to jump and attack what is above them and end up glitching into the blocks below it and eventually fall out of the world.

Steps to reproduce:
1) Build an enclosure like the one in the pictures I've provided.
2) Summon a wolf in the bottom space and a skeleton in the space above it. (Make sure they have the same x and z coordinates or the glitch won't occur)
3) Watch as the poor animal commits a bizarre form of suicide.
This will happen with wolves/sheep and ocelots/chickens as well.


Code analysis by Marcono1234 can be found in this comment

Fixed

Chris Scranton

[Mojang] Agnes Larsson

2016-03-14, 03:05 AM

2016-10-12, 06:16 PM

2016-10-12, 06:16 PM

1

4

Community Consensus

Minecraft 1.9 - Minecraft 16w39cMinecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 2, Minecraft 1.9.1 Pre-Release 3, Minecraft 16w39c

Minecraft 16w41a