Cat

Cats are tameable passive mobs that are found in villages.

Villages
Untamed cats spawn in villages as long as there is at least one villager and four beds. One cat spawns for every four valid beds, with a maximum of 10 cats.

Cats can spawn every 1200 ticks (1 minute) in a village (5 occupied beds). A random player is selected (including spectators), a random location 8-32 blocks in +/- x/z (based on player location) is chosen and if that is less than 2 chunks from a village with less than 5 cats, a cat spawns there.

Swamp Hut
One untamed black cat generates along with a witch inside swamp huts upon world generation. This cat never despawns.

Bedrock Edition
During a full moon, 50% of cats that spawn are black. 25% of cats spawn as kittens.

Drops
Adult cats drop:
 * 0–2
 * when killed by a player or tamed wolf.

Upon successful breeding, is dropped.

Like other baby animals, killing a kitten yields no items or experience.

Behavior
Cats are immune to fall damage, but they still avoid falling off cliffs high enough to normally cause fall damage.

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

With the exception of a faster pace, kittens obey the same behavior as adults.

Cats hiss at phantoms that are currently pursuing a player.

Creepers and phantoms avoid cats, even while pursuing a player, keeping a distance of 6 and 16 blocks away respectively from any cats. However, a creeper that has begun its detonation does not flee unless the player leaves its blast radius.

Cats float in water; kittens in the water eventually perish from drowning if not rescued. A drowning kitten can be rescued with a lead or by teleporting to its owner.

Stray
A stray cat is an untamed cat. Naturally spawned cats always spawn as strays.

Unlike untamed wolves, stray cats may despawn.

Stray cats pursue and attack chickens, rabbits and baby turtles up to a distance of 15 blocks.

Even though they spawn in villages, they don't necessarily remain there; instead, they explore.

Stray cats avoid being 8 blocks or nearer from any player unless they are sneaking. If a player holds a raw cod or salmon, the stray cat slowly gets close enough to feed it, taming the cat (see below).

Breeding


When tamed cats are fed an uncooked cod or salmon, they enter love mode. Breeding creates a kitten, and the parents cannot breed again for 5 minutes. The kitten has the coloring of and belongs 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 mobile cat's owner also owns the kitten.

The growth of kittens can be slowly accelerated using raw cod or salmon. Each fish reduces the growth time remaining by 10%.

Healing
Feeding a damaged tamed cat an uncooked cod or salmon restores its health by. Unlike tamed wolves, a tamed cat's tail is not an indicator of its health.

Appearance


Despite sharing the same model, cats are smaller than ocelots. There are currently 22 skins (11 cat skins for adult, 11 cat skins for baby) that cats can have, with one being Jellie, the cat of YouTuber GoodTimesWithScar, who was chosen by the community in a Twitter vote. The current skins are:


 * Tabby Cat.png Tabby (brown and white with yellow eyes)
 * Tuxedo Cat.png Tuxedo (black and white with green eyes)
 * Red Cat.png Red (orange and white with green eyes)
 * Siamese Cat.png Siamese (white and pale brown with blue eyes)
 * British Shorthair Cat.png British shorthair (silver with yellow eyes)
 * Calico Cat.png Calico (orange, white and dark brown with yellow and blue eyes)
 * Persian Cat.png Persian (creamy with blue eyes)
 * Ragdoll Cat.png Ragdoll (white and soft amber with blue eyes)
 * White Cat.png White (white with light blue and yellow eyes)
 * Jellie Cat.png Jellie (gray and white with gray-green eyes)
 * Black Cat.png Black (black with orange eyes)
 * Baby Tabby Cat.png Tabby (Baby) (brown and white with yellow eyes)
 * Baby Tuxedo Cat.png Tuxedo (Baby) (black and white with green eyes)
 * Baby Red Cat.png Red (Baby) (orange and white with green eyes)
 * Baby Siamese Cat.png Siamese (Baby) (white and pale brown with blue eyes)
 * Baby British Shorthair Cat.png British shorthair (Baby) (silver with yellow eyes)
 * Baby Calico Cat.png Calico (Baby) (orange, white and dark brown with yellow and blue eyes)
 * Baby Persian Cat.png Persian (Baby) (creamy with blue eyes)
 * Baby Ragdoll Cat.png Ragdoll (Baby) (white and soft amber with blue eyes)
 * Baby White Cat.png White (Baby) (white with light blue and yellow eyes)
 * Baby Jellie Cat.png Jellie (Baby) (gray and white with gray-green eyes)
 * Baby Black Cat.png Black (Baby) (black with orange eyes)

In the default resource pack, a texture file for a tamed gray tabby exists. It is however completely unused and can't be spawned in-game.

Like tamed wolves, tamed cats also have a collar on their necks. The color of the cat's collar is red when tamed and can be changed by using dyes.

Taming


Stray cats can be tamed using raw cod or raw salmon. Once tamed, cats follow the player who tamed them. They do not despawn, no longer fear the player and purr or meow frequently. Like wolves, and with the same limits, they can teleport to a player who moves 12 blocks away.

The player can order a cat to sit by pressing on it, and order a sitting cat to stand by pressing  again. The player cannot be holding raw cod or salmon to command a cat to sit or stand. Cats also sit on certain things of their own accord (see below).



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

A cat not already sitting attempts to get on top of chests, the foot part of beds, or active furnaces at the cat's current Y-level within a 4-block-radius square horizontally, and once on top often assumes a sitting position without a command from the player. A cat will also occasionally attempt to sit on these blocks if the blocks are at ground level. A chest with a cat sitting on top of it becomes unusable unless the cat is commanded to stand. Cats often enter nearby boats, trapping themselves. Cats that sit on their own can be ordered to stand, or they may get up if the player holds a raw fish nearby. The cat can also be brought down by removing the block or pushing it off. A cat can also be forcibly moved by attacking it. A cat does not sit on a block that is obstructed by another block above it.

If a player is harmed by a hostile mob or a harming potion, but not by environmental damage, a cat sitting in proximity to the player stands, moves a few blocks from its sitting location, and then resumes sitting.

Teleportation
Cats teleport to the player if they are more than 12 blocks from the player, except where listed below. 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 does not teleport:
 * If the cat has been ordered to sit.
 * Exception: The cat is likely to teleport if it is injured while sitting (it does not sit after it teleports). A dramatic example is if a cat sitting outside is struck by lightning, in which case the cat materializes on fire.
 * Exception: If a kitten is told to sit, and grows up while the chunk it is sitting in is still loaded, it teleports to the player and materializes still sitting.
 * If the cat is attempting to sit on a chest, bed, or furnace.
 * 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 remains in its current dimension until the player returns.
 * If the cat is in water: The cat teleports to the player upon leaving the water.

Cat teleportation is completely silent, which is not an oversight.

Gifts
When the player sleeps, tamed cats move toward their owner and sleep near them. When the player wakes, their tamed cats also wake. There is a 70% chance for a tamed cat to give the player a gift after they wake up, but only if the player sleeps at night (if the player sleeps during a thunderstorm during the daytime, the player receives no gift). The gift is a dropped item from the cat_morning_gift.json loot table:

Data values
Cats have entity data associated with them that contain various properties of the mob.

Trivia

 * The tuxedo cat is based on Jeb's pet cat, Newton, who has since passed away.
 * Unlike in Minecraft, real-life cats were domesticated from African wildcats, which primarily inhabit savannas.
 * In MINECON Earth 2018, Jeb announced that the community would be able to vote for a 9th cat skin to be added with the rest of the other 8 cat skins. As a result, GoodTimesWithScar’s cat Jellie won the contest and was added in Village and Pillage, making the second mob variation that was suggested by the community, the first being "Toast", a rabbit skin.
 * The calico cat and white cat appear to have heterochromia (The eyes are two different colors).
 * It is currently possible to breed two calico variants together. This is not possible in real life, as almost all calico cats are female, and males are sterile.
 * In real life, cats have been 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.
 * In older versions of Minecraft (1.13 and below), cats actually used to be created by taming an ocelot. When you would tame an ocelot, it’s skin would just change to a random cat skin. Now however, they have made it more realistic by adding cats as a separate mob, meaning now you actually have to tame a cat instead of an ocelot.