Turtle

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

Spawning
Turtles typically spawn in the Overworld on beaches, but not in its snowy variant or stone shores, occasionally in small groups of up to 5 individuals.

In Bedrock Edition, turtles spawn in groups of 2-6. 10% of turtles spawned will be a baby turtle. Turtles spawn at light level 7 or higher and can only spawn at altitude 60-67.

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

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.

Turtles can be picked up by boats.

Baby turtles are small enough that when they walk on soul sand, they are entirely within the space at the top of the block, and therefore suffocate in it, much like endermites and silverfish.

Being attacked
Baby turtles are attacked by the following mobs:
 * s, s, s and
 * s, s and s
 * Wild s, wild, stray s and es
 * s in Johnny mode (if nametaged)
 * s.

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. Egg-filled turtles are fatter than normal ones. 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 go 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 and only at night.

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 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 used. This also happens when summoned with the command and spawned by mob spawners.

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

Trivia

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