Beach

Beaches are common coastal biomes that serve as transition biomes from the mainland to an ocean. There are three variants of beach biome.

Description
Beaches generate wherever a land biome meets an ocean. The type of beach variant is determined by the temperature and height of surrounding biomes. Beaches do not always surround land biomes, allowing them to border the ocean. Beaches sometimes can also generate bordering rivers or be completely landlocked.

Beaches don't have many resources of their own. Buried treasure often generates buried under most beaches, and shipwrecks occasionally generate on beaches. Turtles may spawn on some beaches, and are the only passive mobs that can do so, although other passive mobs can wander into beaches from surrounding biomes. Drowned often spawn in the water surrounding beaches. Ocean ruins generated in the ocean nearby may spread onto beaches, causing some ruins to form on land.

Variants
There are a total of three different beach biomes in the biome family.

Beach
The standard beach-type biome variant, Beaches are composed of mostly sand, with some gravel, dirt, and clay patches under the water, similarly to rivers. Like the sand in deserts, sandstone generates underneath it, preventing it from falling into caves below. Beach terrain is usually a smooth descent into the water, though it can vary in steepness and width. Turtles can spawn here, as can buried treasure, shipwrecks and rarely underwater ruins.

Beach worlds generated through the Buffet world type appear as a barren, desert-like sand islands of widely varying sizes with hills and moderately sized mountains of mainly sand and sandstone separated by bodies of water of likewise varying sizes with shipwrecks and ruined portals being the only visible features in the surface.

$$:

$$:

Stony Shore
The stony shore variant replaces normal beaches in areas with mountainous terrain at low erosion values. They are made entirely of stone, with long strips of gravel. They are usually a steep drop into the water below. Stony shores may generate at high enough elevations to have snow on their peaks, even when bordering warm biomes. Waterfalls and lavafalls frequently generate on the sides of stony shores. Unlike normal beaches, turtles cannot spawn here. Buried Treasure can sometimes generate at high altitudes, and can even generate at y-90. The steep drops into the ocean below makes this variant dangerous, especially if the player is unaware of their surroundings.

Stony shores have the same mob spawning chances as beaches. However, they do not spawn turtles.

Snowy Beach
The snowy beach variant generates wherever snowy plains, snowy taiga, or any of their variants border an ocean. Snowy beaches are similar to regular beaches terrain-wise, being made mostly of sand, though their landscape is covered entirely in snow layers. The water surrounding snowy beaches freezes into ice due to the cold temperatures and these beaches often lead to frozen oceans. Turtles cannot spawn here, but rabbits can. Shipwrecks and buried treasure may still generate in this variant.

Snowy beaches have the same mob spawning chances as beaches. However, they do not spawn turtles.

$$, snowy beaches use the same mob spawning chances as beaches for hostile and ambient categories, and villagers wear the snowy outfit. As for the others:

ID