Ocean

The ocean is a common aquatic biome. Oceans are the largest biome by area, covering about a quarter of the Overworld including its variants, and consists of a deep body of water with the surface at an altitude of 63.

Description
Oceans are vast expanses of water, going from sea level all the way down to the ocean floor, which is at a depth of roughly Y-level 45. The sea floor is fairly hilly, featuring multiple peaks and valleys, and is made mostly of gravel, though some clay, dirt and sand patches may generate near the peaks as well. Some peaks may reach high enough to form islands on the surface of the ocean; these islands are typically small beaches surrounding a patch of a common biome, such as forest or plains. The floor is covered with seagrass and kelp, with "forests" of kelp frequently reaching the water's surface. Aquatic mobs, such as cod, squid, and dolphins, frequently spawn within oceans. Shipwrecks and underwater ruins frequently generate within oceans and all its variants, and generate more often than other structures in other biomes.

Survival in ocean biomes themselves is impractical due to all the water, though should one decide to camp on an island in the ocean, they will face a quite difficult situation. Since ocean biomes are so vast, one might not find mainland for hundreds or even thousands of blocks, meaning whatever resources one finds on an island might be all they have should they decide to not venture out. Depending on the island's size, however, the only hostile mobs that the player might have to worry about are drowned from the ocean, which makes nighttime less challenging.

Variants
The ocean biome has eight additional variants in-game, and one unused variant, for a total of ten different ocean biomes.

Deep Ocean
In the Deep Ocean variant, the ocean can exceed 30 blocks in depth, making it twice as deep as the normal ocean. The ground is mainly covered with gravel. Ocean monuments generate in deep oceans, meaning guardians and elder guardians can spawn here. Dolphins, cod, and squid spawn in these oceans as well. Underwater caves and ravines often generate here, forming underwater trenches. Exposed lava in these trenches will occasionally turn into magma blocks, creating whirlpool bubble columns that can potentially drag a player down to their doom, so one must be careful around them.

Frozen Ocean
The Frozen Ocean variant has dark purple water at the surface. Like the cold ocean, it has a gravel seabed, though the water's surface is mostly frozen. Neither seagrass nor kelp generates on the sea floor, leaving it entirely barren and reminiscent of pre-1.13 oceans. Large icebergs made of snow blocks, packed ice, and blue ice frequently generate on the surface and polar bears and strays may spawn on these icebergs. Salmon and squid may spawn here as well, and are the only aquatic mobs (other than drowned) that can.

Similarly to swamps, frozen oceans have varying temperatures across their landscapes, but have a more noticeable effect in that colder patches have snowfall and ice sheets, while warmer patches have rainfall (up to a certain height, similarly to mountains) and unfrozen water. This does not apply to their deep variants, however.

Frozen oceans, along with their deep variants, will never generate directly bordering land. They will always have a 32 block-wide border of cold ocean around them should they generate close to any land. However, this border is very jaggy and broken.

Deep Frozen Ocean
Deep Frozen Ocean variants also contain ocean monuments and a deeper floor than normal oceans. Unlike its shallow counterpart, the surface of the water is not frozen, however, surface is completely frozen $$. Icebergs may still generate and polar bears, strays, and salmon may still spawn.

Cold Ocean
The Cold Ocean variant has dark indigo water at the surface. Like regular oceans and frozen oceans, its floor is made up of gravel, although there are scarce patches of dirt, sand and clay on underwater peaks. Salmon, cod, and dolphins, squid and drowned are able to spawn in cold ocean biomes, alongside all the other common hostile mobs.

Deep Cold Ocean
The Deep Cold Ocean variant is similar to cold ocean biomes, but twice as deep. Like other deep oceans, ocean monuments are able to generate here, which contain guardians, elder guardians, prismarine and sponges.

Lukewarm Ocean
The Lukewarm Ocean variant has light teal water at the surface. Its floor is made of sand with the occasional dirt, gravel and clay and it contains kelp and seagrass. Underwater ruins that generate in lukewarm and warm oceans are made of sandy materials, as opposed to the stony materials that make up ruins in the other oceans. Cod, tropical fish and pufferfish may spawn here, alongside the other aquatic mobs.

Deep Lukewarm Ocean
The Deep Lukewarm Ocean variant is similar to lukewarm ocean biomes, but twice as deep. Since they are a deep ocean variant, they can generate ocean monuments, resulting in the spawning of guardians, elder guardians, prismarine and sponges.

Warm Ocean
The Warm Ocean variant has light green water at the surface. Like the lukewarm ocean, it has a floor made of sand, and like all oceans, it is populated with seagrass. Warm oceans feature large coral reefs and numerous sea pickles, though kelp does not grow here. Tropical fish and pufferfish may spawn here, like in lukewarm oceans, though cod does not spawn.

Like frozen oceans, warm oceans never generate directly touching the land. They will always have a 32 block-wide border of lukewarm ocean around them should they generate close to any land. However, this border is very jaggy and broken.

Deep Warm Ocean
The Deep Warm Ocean variant is similar to warm ocean biomes, but without coral reefs nor sea pickles, and twice as deep. Since they are a deep ocean variant, they can generate ocean monuments, resulting in the spawning of guardians, elder guardians, prismarine, and sponges. This biome does not naturally generate, though it can be seen using Customized Superflat or Buffet world options.