Cat

Cats are common tameable passive animal mobs found in villages.

Spawning
Cats typically spawn upon generation wandering around in villages as strays, though adult black cats can also spawn in swamp huts as strays. Unlike wolves, untamed cats can despawn.

Cats spawn based on the number of valid beds: one cat spawns with at least one villager and for every four valid beds, with each village spawning capped at 10 cats.

Bedrock Edition
50% of cats that spawn during a full moon are black.

Drops
Upon death, cats drop: Like other baby animals, killing a kitten yields no items or experience.
 * 0–2
 * 1–3 s when killed by a player or tamed wolf.

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 movement rate, kittens obey the same behavior as adults.

Cats hiss and flee if attacked by a player. They also hiss at creepers and phantoms.

Creepers and phantoms avoid cats, even while pursuing a player, keeping a distance of 6 and 16 blocks away, respectively, from any cats.

Untamed (stray) cats pursue and attack rabbits and baby turtles. Even though they spawn in villages, they don't necessarily remain there; instead, they prefer to explore.

Stray cats avoid being 8 blocks or nearer from any player. If a player holds a raw cod or salmon, the stray cat may allow the player to approach close enough to feed it, taming the cat (see below).

Adult cats stay afloat in water and survive indefinitely. Kittens in water eventually perish from drowning if not rescued.

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 five minutes. The kitten has the coloring of 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 matches that of the mobile cat's breed, and the mobile cat's owner also owns the kitten.

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

Healing
Feeding a damaged tamed cat an uncooked cod or salmon restores its health.

Appearance


Despite sharing the same model, cats are visibly smaller than ocelots. There are currently 11 skins 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)

In the default resource pack for Bedrock Edition, 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 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.

A player can order a cat to sit by pressing on it, and order a sitting cat to stand by pressing  on the cat 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 would rather 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 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 occasionally attempts to sit on these blocks if the blocks are at ground level (part of the floor). 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 damaging 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 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.

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 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_gift.json loot table, which contains:

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, GoodTimeWithScar’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).