Turtle

Turtles or sea 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.

Baby turtles can occasionally spawn naturally.

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

When a baby turtle grows up to an adult it drops:
 * 1

Behavior
Turtles can both move around on land and swim in water. They 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. When on top of eggs, they levitate.

Turtles will follow a player holding seagrass.

Turtles cannot be attached to leads.

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

Breeding
If two turtles are fed with 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 3 stages before hatching into baby turtles, each stage taking a random amount of time according to received random ticks. They 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. Turtle eggs can only be obtained by using a tool with the Silk Touch enchantment.

Turtles spawned from spawn eggs make their home beach based on where the spawn egg is placed. This also happens when summoned with the command.

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.