Turtle

A Turtle is a common passive mob that moves both on land and in water.

Spawning
Turtles typically spawn in the Overworld on beaches with daylight, 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 are babies. Turtles spawn at light level 7 or higher, at altitude 60-67.

Drops
Turtles drop when they die:
 * 0–2 . The maximum amount is increased by 1 per level of Looting, for a maximum of 0-5 with Looting III.
 * 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 move around aimlessly and flee when attacked. When on land, they generally attempt to move to the nearest water source. When on top of eggs, they levitate.

Turtles cannot be attached to leads, but they can be led by a player holding seagrass within 10 blocks of the turtle.

Turtles can be picked up by boats.

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
 * s.

Zombies and their variants will purposely jump on turtle eggs, causing them to break.

Home beach
Each turtle remembers the beach where it hatched as its home beach. No matter how far away the turtle travels, it always eventually returns to its home beach to lay its eggs after breeding.

If the player uses a tool enchanted with Silk Touch to obtain and move turtle eggs to a new location before hatching, the baby turtles remember the new hatching location as their home beach.

If a turtle is spawned from a spawn egg, summoned with the command, or spawned by mob spawners, it remembers the spawn location as its home beach.

Breeding
Feeding two turtles seagrass causes them to enter love mode, causing one of the turtles to have eggs in its inventory and appear slightly fatter than normal turtles. This egg-filled turtle then travels back to its home beach. Upon arrival, it seeks a nearby sand block on which to lay its eggs. The turtle digs for several seconds on top of the sand, and then lays 1–4 turtle eggs. A turtle lays no more than four eggs per sand block.

Turtle eggs go through 3 stages before hatching into baby turtles, each stage taking a random amount of time according to received random ticks. Turtle eggs hatch only on sand, at night.

Baby turtles
With a height of 0.12 blocks, baby turtles are the shortest mobs in the game. 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.

The growth of baby turtles can be accelerated using seagrass. Each use reduces the growth duration by 10%.

Wolves, foxes, stray cats, and drowned attack baby turtles on sight.

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