Ocelot

Ocelots are passive mobs that spawn in jungle biomes. They are the second tameable mob to be introduced into Minecraft, the first being Wolves. They are based on the animal with same name. When tamed, they become cats, and will change skins. Cats will follow the Player and will teleport if they are too far away.

Creepers will run away from both Ocelots and cats, even if provoked by the player, making cats a great defense against a creeper ambush. Players can use cats to ward creepers away from entrances, key points, or even an entire perimeter of land.

Spawning
Ocelots spawn much like other passive mobs. Ocelots need grass blocks or leaves to spawn at layer 63 or higher. Since they are only native to jungle biomes, Ocelots will tend to spawn in inaccessible areas, such as inside bushes. They may wander into other biomes that are close to the jungle biome, so one may rarely be seen outside of its native biome. They also have a 1/3 chance of not actually spawning, making them somewhat uncommon. Players can also spawn Ocelots via Creative Mode with the Ocelot Spawn Egg.

Ocelots will never spawn in peaceful difficulty; to find them the player must be playing on easy difficulty or higher. Like Squid, Bats, and all hostile mobs, ocelots (but not tamed cats) can also despawn when far enough away from the player.

Appearance
When untamed, these felines have yellow fur with black and brown spots, a gray-black nose, and green eyes. Once tamed, their skin will change to either tabby, tuxedo, or Siamese. Of these, the tabby and tuxedo skins have green eyes, while the Siamese cats have blue eyes. In every case, their tails are in two segments to show curve. A tamed Ocelot is noticeably smaller than an untamed one.

Behavior (ocelot)


The Ocelot is a passive, "shy" mob which will not attack the player. Ocelots are one of the seven mobs with the ability to sprint, and should the player move or look too abruptly 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.

Ocelots will occasionally slowly attack chickens, similar to how wild wolves attack sheep. They would 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 the fence, so take extra steps to secure your chickens when breeding them in or near jungle biomes.

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, and in any case if the Ocelot flees the Creeper will resume its normal behavior. An Ocelot will also flee if it comes in contact with a wolf, despite that wolves do not attempt to attack Ocelots.

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

Taming
An Ocelot can be tamed by attracting it to the player and then feeding it raw fish, which can turn it into one of three breeds of Cats that will then follow the player (though not as closely as a dog). Taming an Ocelot is likely to take more than one fish; two to five on average, but it can take up to twenty.

The player can only tame Ocelots under the following conditions:
 * The Ocelot must approach the player of its own accord, which happens when it sees the player holding a fish and acting in a non-threatening manner (details below). Feeding an Ocelot by chasing, trapping, or cornering it will not result in taming it, even though the Ocelot may take the Fish this way and the floating heart animation will display.
 * There must be no hostile mobs attacking during the taming attempt.

The player must get close to the Ocelot stealthily, or else it will get scared and sprint away. You will likely need to walk at regular speed in order to catch up to the Ocelot, but once you're close, if it sees you moving thusly, it will sprint away; so it is best if the Ocelot does not see your approach. Walk at regular speed while the Ocelot is faced away from you, but switch to sneaking short distances once you get close, especially when the Ocelot can see you. Also, never look directly at the Ocelot (keep the crosshairs off it).

Once you're close, remain still while holding the Raw Fish, until the Ocelot spots you. When it can see you, do not walk, jerk the camera, or place the crosshairs on the Ocelot, or it will sprint away (going into cinematic camera mode by pressing may help some players). If this is done correctly, the Ocelot will stare at the player while approaching cautiously, then stop a couple of blocks away. When it stops, slowly, carefully, and smoothly pan the crosshairs over to the Ocelot, then right-click raw fish on the Ocelot to attempt to tame it. The Ocelot may begin emitting a heart or puff effect when fed, but is not actually tamed until it changes to a cat. You can make repeated feeding attempts with quick repeated right-clicks, but be careful not to jerk the camera while doing so.

If Right-clicked and nothing happens, then:
 * The player is chasing it.
 * The player is not within 5 blocks of the Ocelot.
 * The player or the Ocelot is in a minecart.
 * The Ocelot cannot escape (if it is on a structure that is more than 4 blocks high).
 * The player has already moved or taken damage from a hostile mob.

Behavior (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 (see below). Players can make cats sit by right-clicking on them, and will also sit on certain things of their own accord (see below).



Cats, unlike dogs, do not fight hostile mobs. However, they will repel Creepers (whether sitting or not). This can be used to protect players or bases, by stationing sitting cats at the desired area.

Cats are still immune to fall damage, and their behavior reflects this. However, they aren't immune to anything else, and are distinctly incautious. They can set themselves on fire by wandering too close to lava or flame, move too close to Cacti and remain until dead, and wander into fights, intercepting Skeletons' arrows or the player's own attacks. They can also get in the player's way during mining and take axe, pick, or shovel damage. All Cats will also wander into water in order to follow the player, and only adult Cats can swim; baby Cats will sink, during which they can avoid damage for about the same time as a player's breath meter would last. They will then start to take damage and quickly die.



Unless commanded to sit, Cats do not remain still for long, and would rather explore around the player and occasionally hunt chickens, much like their predecessors. They will not attack while sitting, nor when catching up with the player.

Mobile Cats (not already sitting) will attempt to get on top of chests, beds, or active furnaces within a 5-block radius, and once on top will often assume a sitting position without a command from the player. A Chest cannot be opened if a sitting Cat is on top of it. 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 a chest or bed if the chest or bed is at ground level (part of the floor), or if there is a block above the chest or bed. Placing stairs, slabs, glass panes, another chest, or some other transparent block above chests is a good way to prevent this, since the player can still open the chest and the cat will ignore it. Amusingly, Cats will also attempt to, but will not be able to, sit on a chest 2 blocks above ground level. It will run around it, but not be able to jump on top of it.

Breeding and offspring


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

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, most notably with a spawn egg, and they can be tamed and will vary just like the adults between a tabby, tuxedo, or Siamese cat.

Like all baby mobs, Kittens and Baby Ocelots will not drop experience orbs. Kittens' heads are proportional to their bodies, unlike most baby mobs.

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 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 there are only transparent blocks (like ice, glass) around the player
 * if the player enters a portal and travels to 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. They were officially released with Minecraft 1.2.

Trivia

 * Ocelots are considered hostile mobs in the code, strangely. This allows them to despawn.
 * The entity ID, debug messages, and texture filenames use the Swedish word "ozelot," instead of its English equivalent, "ocelot."
 * The tuxedo cat is based on Jeb's pet cat, Newton.
 * Although ocelots are transformed into cats when tamed, they can be tamed just themselves in real life.
 * 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 (see Behavior (Wild)).
 * An easy way to tame ocelots without scaring them off is to hold sneak with mouse sensitivity set to yawn, or at its lowest. The player may also press F8 to ease their cursor movement.
 * Ocelots will still flee from to a player in Creative Mode when provoked.
 * Ocelots will not sprint away from the player looking at them through transparent blocks (signs, levers, stairs, etc.) making taming slightly easier.
 * Cats will not attempt to sit on locked chests.
 * Although Ocelots don't spawn in Peaceful difficulty, you can still spawn them with a spawn egg in Creative Mode and you can also use Monster Spawners to spawn them using mods.
 * Cats have sound files for hissing (hiss1.ogg, hiss2.ogg, hiss3.ogg) that aren't currently used in the game.
 * 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.
 * Cats will not run from dogs, but will sometimes run from dogs that are walking next to the player, and the dog would rarely chase after it.
 * To tame a Ocelot, there must be a 7 by 7 (or larger) area for the ocelot to roam.