Ocelot

Ocelots are leopard-like, tameable passive mobs found in jungles.

Spawn cycle
Ocelots try to spawn on grass blocks at sea level or higher in jungle biomes. There is a $1/3$ chance that a spawn attempt will fail. While ocelots are passive mobs, natural spawning considers the hostile mob cap rather than the much-lower passive mob cap.

When a wild ocelot spawns, there is a $1/7$ (14.28%) chance that two ocelot kittens will also spawn with it; this chance includes any kind of spawning, including spawning naturally, by spawn egg, or by monster spawner.

If a player spawns an ocelot within 10 blocks of them in creative mode, the player must leave the range then re-enter if they wish to tame the ocelot.you can use a spawning egg if you want a little bit easier way

Breeding


When tamed cats are fed an uncooked fish of any kind (only raw salmon and raw cod in Bedrock Edition and Legacy Console Edition), they will enter love mode. Breeding will create a kitten, and the parents cannot be bred again until five minutes have passed. The kitten will have the coloring and belong to the owner of one of the parents. Two sitting cats are unable to breed, but a mobile cat can breed with a sitting cat, in which case the kitten's breed will always match that of the mobile cat's breed, and the mobile cat's owner will be the owner of the kitten.

The growth of baby cats can be slowly accelerated using raw fish. Each fish takes 10% off the remaining time to grow up. There are three variations of domestic cats:


 * 1) Black tuxedo
 * 2) Siamese
 * 3) Red tabby

Drops
Ocelots drop when they die:
 * 1–3 orbs when killed by a player or tamed wolf. Like other baby animals, killing a baby ocelot yields no experience.

Behavior
Ocelots will attack chickens and baby turtles. They assume a "sneaking" stance and will stalk the animal before chasing it down. They can even kill through a fence or a door if they are against it.

Creepers will quickly avoid ocelots and cats. However, this will not deter them from chasing a player, only keeping the creeper 16 blocks away.

Ocelots are immune to fall damage, but will still avoid falling off cliffs high enough to normally cause fall damage.

Ocelots can still see players even with the Invisibility status effect.

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

Ocelot


An 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 the player is in Survival or Adventure mode. If enclosed and unable to escape, they will stand still until an exit is made, after which they will quickly sprint through. Ocelots are very popular mobs, however they are quite difficult to tame.

Players can feed ocelots to gain their trust.

Taming
An ocelot can be tamed by attracting it to the player with an uncooked fish of any kind (only raw salmon and raw fish in Bedrock Edition and Legacy Console Edition), and once fed the fish, it can turn into one of three colors/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 change to one of three breeds: tabby, tuxedo, or Siamese.

If the player fails to tame an ocelot, it will still show smoke particles. They will still go into breeding mode, and if there are two such ocelots in the area they will spawn a baby. If two ocelots are tamed and they are still in love mode as cats, they can be bred instantly.

Cat


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



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

Cats not already sitting will attempt to get on top of chests, the foot part of 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. Only Chests will become unusable due to a cat sitting on top of them, even double chests. Cats will often sit in nearby boats, trapping themselves. 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
Cats will teleport to the player if they are more than 12 blocks from the player, with a few exceptions.


 * 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.

A cat will not teleport:
 * If the cat has been ordered to sit.
 * Exception: The cat is likely to teleport if it is injured while sitting (it will no longer be sitting after it teleports). A dramatic example is if a cat sitting outside is struck by lightning, in which case it will be on fire when they appear.
 * Exception: If a kitten is told to sit, and grows up while the chunk it is sitting in is still loaded, it will teleport to the player and still be sitting when it appears.
 * If the cat is in a minecart.
 * If the cat has been attached to a fence post with a lead.
 * If the cat is in an unloaded chunk.
 * If none of the blocks on the edge of a 5×5×1 region centered on the player are transparent blocks with an opaque block below and another transparent block above.
 * If the player is in another dimension; a cat will remain in its current dimension until the player returns.

Data values
Ocelots have entity data associated with them that contain various properties of the mob. Their entity ID is.

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.
 * 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.
 * Cats will occasionally fail to follow the player through a door or gate and instead stand within a few blocks of the door, but will still teleport to the player if they go beyond the usual 12 block range.
 * Cats will hiss if attacked by a player.