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
During a full moon, 50% of cats that spawn will be 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 will 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 will hiss and flee around if attacked by a player. They also hiss at creepers and phantoms.

Creepers and phantoms will try to 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 will stay afloat in water and survive indefinitely. Kittens in water will eventually perish from drowning if not rescued.

Breeding


When tamed cats are fed an uncooked cod or salmon, they will enter love mode. Breeding will create a kitten, and the parents cannot be bred again for five minutes. 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 match that of the mobile cat's breed, and the mobile cat's owner will be the owner of 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 will restore 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 will follow the player who tamed them. They will no longer despawn or 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 12 blocks away.

Players can order a cat to sit by pressing on it, and cancel that order by pressing  on the cat again while not holding raw cod or salmon. Cats 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 a 4-block-radius square horizontally, and once on top will often assume a sitting position without a command from the player. Chests with a cat sitting on top of them become unusable. Cats often will enter nearby boats, trapping themselves. Cats that sit on their own will not get up on command, but they may 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 the blocks are at ground level (part of the floor) or if there is another block above the block.

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 will stand, move a few blocks from its sitting location, and then resume sitting.

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

Gifts
When the player sleeps, tamed cats will go toward their owner and sleep near them. When the player awakes, their tamed cats will also awake. There is a chance that a tamed cat will give the player a gift after they wake up. The gift is a dropped item from the cat_gift.json loot table, which contains:
 * : weight: 10
 * : weight: 10
 * : weight: 10
 * : weight: 10
 * : weight: 10
 * : weight: 10
 * : weight: 2

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 which 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).