Fix note
Fix note: This has only been fixed for wolves as they spawn as friendlies. Ocelots spawn as monsters (i.e. continously) and need to be despawned when inactive.
I created a survival file and started playing. I found some wolves and caged them so they didn't run off until I got some bones. I did not tame them, and for some reason, after unloading the chunk, they disappeared.
To reproduce:
Create a new world with no generation modifications.
Find some wolves and trap them. Make note of their location.
Wander off until the chunk is no longer loaded (>16 chunks).
Go back and the wolves should've despawned.
the code affected
Linked issues
is duplicated by 6
Comments 74
Can confirm that this is occurring in 1.6.4 unmodified singleplayer survival.
Untamed wolves follow passive mob spawning behavior (spawn with the world, do not spawn again unless the player commits genocide against all passive mobs in a large area and on a very slow cooldown), but follow hostile mob despawning behavior (disappear from loaded chunks when a suitable distance from the player after a decent length of time).
Wolves are, as a result, ridiculously difficult to find, since they need either excessively complex mob-farming, or require the player to tame the wolves shortly after loading their chunks.
I can confirm that wolves disappear after creating a new world and not taming them.
also they are very rare to find them at 1.7.2
Is this still a concern in the current Minecraft version 1.7.4 / Launcher version 1.3.7 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
I can confirm that in 1.7.4 untamed or Passive wolves do despawn.
In vanilla SMP I leaded and moved 4 wolves 1000 blocks to my pet shop where they can be distributed to players for them to tame. After moving away and unloading the chunk and returning, the wolves had despawned.
@Rich Harris - Marcono1234 did analysis on this - click on the link in the description (the code affected) to see it. TLDR ocelots are linked to a specific biome and should now be respawning, Wolves however are not and the code prevents respawning.
FYI I have seen wolves not just in Cold Taiga, but Taiga, Forest and Birch Forest when checking out new worlds in creative for my next seed. Most casual players are not going to be aware of this and like you will be searching to no avail to find wolves since if you get close enough to trigger the chunk to load, the wolves are gone. All we can do is keep this updated periodically and vote for devs to fix it.
Fix note: This has only been fixed for wolves as they spawn as friendlies. Ocelots spawn as monsters (i.e. continously) and need to be despawned when inactive.
@Jeb The ocelots still need to be fixed, as they are the only animal that despawn while named with a nametag or tied up with a lead.
Cannot confirm.