Turtle

Turtles are common passive mobs that move both on land and in water.

Spawning
Turtles spawn in the Overworld on warm beaches, occasionally in small groups of up to 5 individuals.

Drops
Turtles drop when they die:
 * 0–2 pieces of
 * 1–3 experience orbs if killed by a player or tamed wolf.

When a baby turtle grows up to an adult, it drops a.

Behavior
Turtles can both move around on land and swim in water. Turtles move slowly on land, but they can swim at a fast speed in water. Like other passive mobs, they will move around aimlessly and will flee when attacked. When on land, they will generally attempt to move to the nearest water source.

Turtles will follow a player holding sea grass.

Turtles cannot be attached to leads.

Being attacked
Baby turtles are attacked by the following mobs:
 * s, s and s
 * s and s
 * s
 * Wild s and wild
 * Wild s and wild

Breeding
If two turtles are fed seagrass, they will enter love mode. One of the turtles will then have an egg in its inventory, and will begin making its way back to its home beach. Once the egg-filled turtle returns to its home, it will find a nearby sand block to lay the eggs on. After several seconds of digging action on top of the sand, it will lay 1–4 turtle eggs. A turtle can lay no more than 4 eggs per sand block.

Turtle eggs will grow through several stages before hatching into baby turtles. Turtle eggs will only hatch at night, and will only hatch on sand.

The growth of baby turtles can be slowly accelerated using seagrass. Each use takes 10% off the remaining time to grow up.

Home location
The beach where the turtle is spawned at is remembered by the turtle as its home beach. No matter how far away a turtle travels, it will always return to the home beach before it lays its eggs after breeding.

Baby turtles get their home location from the position of the turtle eggs that they hatched from. If the player were to pick up the eggs and move them elsewhere, the baby turtles will remember the spot where they hatched as their home beach.

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

Trivia

 * With a height of 0.12 blocks, baby turtles are the shortest mobs in the game.