Crab

Crabs are small tamable mobs that are semi-aquatic.

Natural generation
Crabs spawn on beach, cold beach, stone beach, and mushroom island shore biomes. They often spawn in groups of 2–4 during world generation.

Appearance
Crabs come in five different colors: blue, orange, green, orange-white, and orange with pink spots.

Drops
Crabs will drop 0–2 raw crab meat upon death. This can be increased with the Looting enchantment. Crabs will still drop raw crab, even if set alight. They drop 1–3 experience when killed by a player or tamed wolf.

Behavior
Crabs are passive and will never attack, but they will flee from the player when approached, Crabs will also raise their pincers when hit. They also tend to dwell in water, but they won't drown. Like insects, scorpions and spiders, crabs will take extra damage from a weapon enchanted with Bane of Arthropods. They also have the ability to scale up walls, but without the animation. Because of this ability, they may get stuck in ceilings and take damage from suffocation.

A crab can be tamed by a fish net. When caught and released from the fish net, the naming screen will then appear and the crab will be tamed. Like other mobs, crabs can be leashed.

Taking care of crabs
Since crabs can scale up blocks, it is recommended to keep them enclosed with fence or glass blocks, along with a glass roof to prevent them escaping or suffocating in the ceiling.

History
{| class="wikitable sortable" style="width: 50%;" !Version

v8.0.0 DEVa
- Added three more crab textures.

v5.2.0 DEV
- Crabs are now targeted by bane of the arthropods enchantment.

- Crabs can be tamed by using a fish net on them.

v5.1.5
- Finished crab animations.

v5.1.4
- Added crabs (pending animations).
 * }