Ocelot

Ocelots are rare passive mobs found in jungles.

Spawning
Ocelots spawn above grass blocks or leaves at sea level (y=63 per default) or higher in groups of 1 or 2. These are mostly adults but sometimes ocelots spawn as a kitten. When an adult ocelot spawns, there is a $1/7$ (14.3%) chance for 2 ocelot kittens to spawn with it; this chance includes any kind of spawning, including spawning naturally, by a spawn egg or a mob spawner.

Java Edition
There is a $1/3$ chance for a spawn attempt to fail in jungles and 100% in bamboo jungles or jungle edges. While ocelots are passive mobs, natural spawning considers the hostile mob cap rather than the much-lower (ten times less) passive mob cap.

Bedrock Edition
Ocelots are found in all kinds of jungles.

Drops
Upon death, adult ocelots drop when killed by a player or tamed wolf.

Upon successful breeding, is dropped.

Like other baby animals, killing a baby ocelot yields no experience.

Behavior
Ocelots attack chickens and baby turtles. They sneak and stalk their prey before chasing it down. They can kill through a fence or a door if they are against it. While sneaking, a named ocelot's name does not appear.

Creepers stay 6 blocks from an ocelot. A creeper within this range that has begun its detonation does not flee unless the player leaves its blast radius.

Phantoms stay 16 blocks away from an ocelot.

Ocelots are immune to fall damage, but still avoid falls.

Ocelots see players even with the Invisibility effect.

With the exception of a faster movement rate, kittens have the same behavior as adults.

Trust
Ocelots are one of the few mobs that can sprint, and sprint away from nearby players in Survival or Adventure mode.

Ocelots approach players holding raw cod or raw salmon within 10 blocks. If the player moves, turns their head too quickly, or stops holding the item while within 6 blocks, the ocelot flees and does not attempt to approach the player for a few seconds.

A player gains an ocelot's trust by feeding it raw cod or salmon until heart particles show, causing it to no longer flee from players. Each food item has a $1/3$ chance of gaining the ocelot's trust.

Ocelots that are trusting do not despawn; otherwise, they may despawn when far enough from a player, similar to hostile mobs.

Breeding
When a trusting ocelot is fed raw cod or raw salmon, it enters love mode. Breeding creates an ocelot kitten that trusts the player. The adults cannot breed again for 5 minutes once they have completed breeding.

The growth of baby ocelots can be accelerated slowly using these raw fish. Each cod or salmon takes 10% off the remaining time to mature.

ID




Entity data
Ocelots have entity data associated with them that contain various properties.

Trivia

 * Ocelots are the first mob created by Jon Kågström, an AI specialist who worked with Jens Bergensten on Minecraft. Jens created the texture for the ocelot, as Jon had trouble doing so himself.
 * In real life, cats are known for their ability to flip upright during a fall, particularly larger ones; though they still might be injured by landing. This goes the same for ocelots.