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.

10% of turtles spawned are babies.

$$, turtles spawn in groups of 2-6, at light level 7 or higher, at altitude 60-67. They also take a few minutes to lay eggs.

Drops
When turtles die, they drop:
 * 0–2 . The maximum amount is increased by 1 per level of Looting, for a maximum of 0-5 with Looting III.
 * , 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

Upon successful breeding, is dropped.

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 in an enclosed area, like a player-made enclosure, they generally swim in circles if water is in the area, and rarely go on land to explore, if there is any.

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 and minecarts.

Predators
Baby turtles are attacked by the following mobs: Zombies and their variants deliberately trample on turtle eggs, causing them to break.
 * s, s, s and
 * s, s and s
 * Wild s, wild, stray s and es
 * s named "Johnny".
 * s.

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 a bit bigger (about .2 of a block) than normal turtles. The pregnant turtle then travels back to its home beach, also known as where it first spawned. Upon arrival, it seeks a nearby sand block on which to lay its eggs. The turtle digs vigorously for several seconds a few times - with pauses, on top of the sand, and then lays 1–4 turtle eggs. The pregnant turtle can breed again immediately after laying the eggs while the other turtle can mate immediately after mating.

Due to a bug, turtles do not lay eggs after mating $$.

Eggs
Eggs can be placed on sand in clusters of up to 4. Using an egg on the sand will place a single egg, using an egg on an existing egg cluster of size <4 will add that egg to the cluster. Eggs can be destroyed by jumping on them, hitting them, walking over them or dropping items on them. . They are destroyed one at a time (decreasing the cluster size). A turtle can walk on the eggs without breaking them. Note that harvesting eggs with Silk Touch, will drop an egg, which can land on the remaining eggs, breaking one of them.

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, during both day and night, though the eggs grow faster during the night. In general, the hatching process takes a long time, so it's worth clustering them in groups of 4 to make it more efficient.

Babies
With a height of 0.12 blocks, baby turtles are the smallest 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%, as well as slowly increasing their size by about .01 of a block.

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