Ocelot

Ocelots are tameable passive mobs.

Natural generation
Ocelots try to spawn on grass blocks or leaves at layer 63 or higher. There is roughly a $1/3$ chance that a try will success (and ocelot will spawn).

Baby Ocelot/Cat


When tamed cats are fed raw fish, they will immediately enter "breed mode", and if two cats are fed, they will breed. Breeding will create a kitten, and the parents cannot be bred again for a five-minute delay. The kitten appears to have the breed of the parent who reached the other parent first. Cats cannot breed when both intended parents are sitting, but they can breed if one is sitting and the other is mobile; in which case the breed will always be the mobile cat's.

The growth of baby cats can be slowly accelerated using raw fish. Each use takes 10% off the remaining time to grow up.

In multiplayer, when players can breed his or her cat with the cats of other players, the player who owns the kitten is most likely to be the one whose cat matches the kitten's skin. Naturally, if the parents are identical, the owner must be discovered by the kitten's behavior.



Ocelot kittens can also be found randomly - they occasionally spawn when an adult ocelot spawns. They obey the same behavior as adult ocelots.

Behavior
Ocelots will occasionally slowly attack chickens. They assume a "sneaking" stance and will stalk a chicken before chasing it down. They can even kill through a fence if the chicken is against it.

Creepers will actively avoid ocelots, should they come within a certain radius of the Ocelot. However, this will not deter them from chasing a player, only keeping the Creeper a distance away, about 25-50 blocks

Ocelots are immune to fall damage, and will show no hesitation about falling great distances from trees and cliffs.

Ocelot


The Ocelot is a passive, "shy" mob which will not attack the player. Ocelots are one of the few mobs with the ability to sprint, and should the player approach too near one it will sprint away. If enclosed and unable to escape, they will stand still until an exit is made, after which they will quickly sprint through.

Taming
An ocelot can be tamed by attracting it to the player with an uncooked fish of any kind, then feed it the fish, which can turn it into one of three breeds of cat that will then follow the player.

The player can only tame ocelots under the following conditions:
 * The ocelot must be in "begging for food" mode, characterized by it looking at the player and slowly walking near to the player.
 * Entering "begging" mode requires that the player is within 10 blocks (Euclidean distance).
 * If the player is within 6 blocks, the ocelot will exit "begging" mode if the player turns too quickly or moves more than a tiny distance.
 * If the player is within 6 blocks when the ocelot starts begging, it is likely to decide the player turned too quickly and stop begging on the next game tick.
 * If the ocelot exits "begging" mode, it won't enter it again for about 15 seconds.
 * The ocelot must be within 3 blocks of the player.
 * When all of the above are met, there is still a 2/3 chance the ocelot will take the fish without becoming tame. It's possible to tell the difference between the 2/3 failure chance and not meeting the other conditions by whether the ocelot emits smoke particles when fed and by whether it can be fed again immediately.

The newly tamed cat will pick up one of three breeds: tabby, tuxedo or Siamese.

Cat


Once tamed, cats will follow the player who tamed them. They will no longer be afraid of players, and will purr or meow frequently. Like wolves, and with the same limits, they can teleport to a player who moves too far away. Players can make cats sit by on them, and will also sit on certain things of their own accord (see below).



Only adult cats may swim; baby cats sink and eventually drown.

Unless commanded to sit, cats do not remain still for long, and would rather explore around the player.

Mobile cats (not already sitting) will attempt to get on top of chests, beds, or active furnaces at the cat's current Y level within an 8-block square horizontally, and once on top will often assume a sitting position without a command from the player, making the block below it unusable. Cats that sit on their own will not get up on command, but will get up if the player holds a fish nearby. The cat can also be brought down by removing the block or pushing it off. A cat will not attempt to sit on these blocks if they are at ground level (part of the floor), or if there is a block above them.

A cat sitting in proximity to the player will, if the player is harmed by a hostile mob (or by careless use of a damaging potion, but not by environmental damage), stand and move from its sitting location a few blocks and then resume sitting, such that the player will need to place the cat again.

Teleportation
Just like dogs, they will teleport to the player if a large enough gap (roughly a 20 x 20 x 10 block volume) is created between them and the player with a few exceptions: A cat will not teleport:
 * It is possible for a tamed cat to teleport to an inaccessible location (e.g. under ice) and be injured or suffocate of various causes as a result.
 * If the player dies, a cat will teleport to the player's bed or spawn with them, unless the cat dies as well.
 * if the cat has been ordered to sit.
 * if the cat is in a moving minecart.
 * if the cat has been attached to a fence post with a lead
 * if the player is swimming/steering a boat in deep water; a cat will only teleport as the player approaches land or shallow water that is one block deep (if the player travels long distances on water, whether with or without a boat the cat(s) will not teleport upon reaching land, if they were left on a chunk that was unloaded).
 * if the player dies/leaves a chunk quickly and that chunk becomes unloaded, the cat cannot teleport until the chunk is reloaded.
 * if there are only transparent blocks (like ice, glass) around the player
 * if the player is in the Nether or the End; a cat will remain in the Overworld until the player returns.

History
They are the first mob created by Jon Kågström, an AI specialist working with Jens Bergensten on Minecraft. Jens created the texture for the Ocelot, as Jon had trouble doing so himself.

Trivia

 * Strangely, ocelots are considered hostile mobs in the code. This allows them to despawn.
 * The entity ID, debug messages, and texture file names (until 1.6, when the texture file's name was changed to "ocelot.png") use the Swedish word "ozelot," instead of its English equivalent, "ocelot."
 * The tuxedo cat is based on Jeb's pet cat, Newton, who has unfortunately passed away.
 * 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 fact is reflected in Minecraft because they take absolutely no fall damage.
 * Unlike most mobs, ocelots react to players in Creative Mode and will flee when one gets too close.
 * If you fail to tame an ocelot, it will still show heart particles. Dinnerbone states that it was because they like you for giving them fish, but still want more. Studying the game shows that they are actually going into breeding mode, and if there are two such ocelots in the area they will spawn a baby. If you tame 2 ocelots and they are still in love mode as cats, they can be bred instantly. This makes it so that you can save fish if you wanted to breed them after.
 * Cats cannot be healed by being fed fish, unlike tamed wolves with meat. The only way to heal a cat is to use status effects.
 * Using a Splash Potion of Slowness on an Ocelot can make it easier for the player to tame the Ocelot.
 * Ocelots can still see players even with Invisibility.