Baby ocelots spawned naturally prevent the parent ocelot from spawning.
Note: This bug is currently blocked by
MC-103516 which allows the parent ocelot to spawn.
- Create a Superflat world with the following preset
Note: The 70 layers of stone are required because ocelots only spawn above sea level.
- Setup a repeating command block and two chain command blocks behind it with the following commands
- Move around and look at the naturally spawned baby ocelots
→ You will notice that they are always spawned without parent
Based on 1.11.2 decompiled using MCP 9.35 rc1
The problem is that the method net.minecraft.entity.passive.EntityOcelot.onInitialSpawn(DifficultyInstance, IEntityLivingData) spawns the baby ocelots at the same position the parent ocelot would spawn. Because of that the parent would collide with them and is therefor not spawned.