Ocean Ruins

Ocean ruins or underwater ruins are oceanic structures primarily composed of stone bricks or sandstone. They have cold and warm variants, and come in many different sizes varying from large villages to single ruined huts. They contain chests and suspicious blocks that carry a variety of loot.
== Generation ==
Cold ocean ruins generate in normal, cold, and frozen ocean biomes, as well as their deep variants. They are composed of stone materials and contain some suspicious gravel blocks that can be excavated using a brush.
Warm ocean ruins generate in warm, lukewarm, and deep lukewarm ocean biomes, and are composed of sandstone and stone materials as well as having some blocks of suspicious sand within them.
Ocean ruins may at times be at least partially buried, including with their airspaces. This means that their associated suspicious blocks will also be located under layers of usual sand, gravel, and even stone.
Although most ocean ruins generate underwater, they sometimes generate on land.
30% of ocean ruins generate as large ocean ruins; the other 70% generate as small ruins. If the ocean ruin is large, there is a 90% chance for 4-8 (inclusive) small ocean ruins to generate around it in a cluster. If the ocean ruin is warm, large ocean ruins generate with a structure integrity of 0.9 and small ocean ruins generate with a structure integrity of 0.8. If the ocean ruin is cold, the "brick" variant of the chosen structure type generates with a structure integrity of 0.9 if large and 0.8 if small. The "cracked" variant generates with a structure integrity of 0.7, and the "mossy" variant generates with a structure integrity of 0.5, both regardless of size. Reduced structure integrity may also remove drowned and loot chests from the structures.
During generation, all air blocks and structure blocks act as structure voids.
== Structure ==
The shape and size of ocean ruins varies greatly, and they often generate together in groups to create ruined villages.
All but two of the structures contain a loot chest with loot inside. The chest contains loot for specifically either a small or large sized ocean ruin structure and may be buried by some sort of material such as gravel and sand.
Cold ocean ruins are primarily composed of stone bricks, gravel, and suspicious gravel, and also contain prismarine, sand, magma blocks, sea lanterns, polished granite, glazed terracotta, bricks, planks, cobblestone, mossy cobblestone, stone brick stairs, obsidian, and/or a chest with loot in it. Warm ocean ruins are primarily composed of sand, sandstone, and suspicious sand, and also contain polished granite, polished diorite, sea lanterns, magma blocks, gravel, terracotta, sandstone stairs, and/or a loot chest.
Many of the structures spawn with drowned (usually 1–2, though a few structures have 3 or 4).
Note that natural ocean ruins generate following the rules above and may not exactly match the stored structures.
The structures below are located in the folder client.jar/data/minecraft/structures/underwater_ruin. The following is a complete table of the structures with their filenames, descriptions and what they consist of.
Each indicates either a chest with random loot, or the spawn location of a drowned.
=== Cold ocean ruins ===
Structure name 	Description 	Consists of	Images
underwater_ruin/big_brick_1underwater_ruin/big_cracked_1underwater_ruin/big_mossy_1	A chunk-sized structure with a mostly gravel floor and a large, multidimensional arch. These 3 generate as an integrated whole. 	
215~239 
97 in total , , 
8 
4~5 
3~4 
1 
1 (random loot)
1~2	
underwater_ruin/big_brick_2underwater_ruin/big_cracked_2underwater_ruin/big_mossy_2	A chunk-sized structure consisting of two connected rooms, one taller than the other. These 3 generate as an integrated whole. 	
209 in total , , 
192~206 
39 
15 
5~7 
4 
2 
1~5 
1 (random loot)
1~2	
underwater_ruin/big_brick_3underwater_ruin/big_cracked_3underwater_ruin/big_mossy_3	A chunk-sized structure consisting of two large unconnected rooms, one much taller than the other and having an open top. These 3 generate as an integrated whole. 	
301 in total , , 
205~217 
55 
17 
10 
2~8 
2 
1~2 
1 (random loot)
1~3	
underwater_ruin/big_brick_8underwater_ruin/big_cracked_8underwater_ruin/big_mossy_8	A chunk-sized structure with not much height, looks similar to a floorplan of a large building. Remnants of wood floors are present. These 3 generate as an integrated whole.	
210~224 
88 in total , , 
8~12 
9 
8 
3 
1 (random loot)
1~2	
underwater_ruin/brick_1underwater_ruin/cracked_1underwater_ruin/mossy_1 	A small building without a roof. These 3 generate as an integrated whole. 	
36~38 
32~37 in total , , 
17~19 
1 
0~1 
0~1 (random loot)
0~1	
underwater_ruin/brick_2underwater_ruin/cracked_2underwater_ruin/mossy_2 	A small structure with not much height. Consists of randomly placed stone bricks and mossy cobblestone. These 3 generate as an integrated whole. 	
30~39 
9 in total , , 
6~10 
2 
1 (random loot)
0~2	
underwater_ruin/brick_3underwater_ruin/cracked_3underwater_ruin/mossy_3 	A small structure featuring a stone brick arch. These 3 generate as an integrated whole. 	
30~35 
20~21 in total , , 
2 
1~2 
1~2 
1~5 
1 
0~1 
1 (random loot)	
underwater_ruin/brick_4underwater_ruin/cracked_4underwater_ruin/mossy_4 	A small structure featuring a small, domed building. These 3 generate as an integrated whole. 	
70~71 in total , , 
27~35 
3~6 
1~6 
0~4 
0~2 
1 (random loot)
0~2	
underwater_ruin/brick_5underwater_ruin/cracked_5underwater_ruin/mossy_5 	A small structure with a small, cuboid building. These 3 generate as an integrated whole. 	
37~39 
35 in total , , 
9 
8 
1 (random loot)
0~1	
underwater_ruin/brick_6underwater_ruin/cracked_6underwater_ruin/mossy_6 	A small structure that looks similar to a castle tower. These 3 generate as an integrated whole. 	
58 in total , , 
41~43 
24 
2 
2 
0~3 
0~1 
1 (random loot)
0~4	
underwater_ruin/brick_7underwater_ruin/cracked_7underwater_ruin/mossy_7 	A small structure that resembles brick_5/cracked_5/mossy_5, although with a slightly taller roof. These 3 generate as an integrated whole. 	
40 in total , , 
35 
6 
4 
1 
1 
1 (random loot)
0~1	
underwater_ruin/brick_8underwater_ruin/cracked_8underwater_ruin/mossy_8 	A small structure that looks similar to an igloo, although made of stone materials. These 3 generate as an integrated whole. 	
41 in total , , 
25~28 
11 
3~5 
1~2 
0~1 
1 (random loot)
0~1	
=== Warm ocean ruins ===
Structure name 	Description 	Consists of	Images
underwater_ruin/big_warm_4	A chunk-sized structure featuring a large sandstone arch. 	
220 
152 
24 
18 
4 
3 
1 (random loot)
2	
underwater_ruin/big_warm_5	A chunk-sized structure with a tall tower in the center. It looks similar to a fountain. 	
222 
43 
12 
8 
5 
4 
2 
1 (random loot)
4	
underwater_ruin/big_warm_6	A chunk-sized structure featuring 4 sandstone arches. 	
219 
129 
4 
4 
2 
2 
1 (random loot)
2	
underwater_ruin/big_warm_7	A chunk-sized structure with an open sandstone dome. 	
202 
100 
24 
8 
4 
2 
2 
1 
1 (random loot)
2	
underwater_ruin/warm_1 	A small structure with an open dome. Looks like a smaller version of big_warm_7. 	
75 
47 
7 
1 (random loot)	
underwater_ruin/warm_2 	A small hut with a large opening in the front. 	
42 
36 
2 
2 
1 (random loot)
2	
underwater_ruin/warm_3 	A small hut that has an entrance on all sides. 	
36 
24 
13 
2 
1 (random loot)
1	
underwater_ruin/warm_4 	A small structure featuring two small arches. 	
42 
28 
10 
2 
1 
1 (random loot)
1	
underwater_ruin/warm_5 	A small structure that is essentially a roof with multiple supports. 	
37 
34 
1 (random loot)
1	
underwater_ruin/warm_6 	A small hut that looks similar to the ruin5 series, although made of sand materials. It is filled with sand and the entrance is blocked off.	
48 
39 
4 
1 
1 (random loot)	
underwater_ruin/warm_7 	A small structure that looks similar to the ruin2 series, although made of sand materials. 	
34 
6 
3 
1 (random loot)	
underwater_ruin/warm_8 	A thin wall with multiple "windows". Appears to be a miniature cross section of big_warm_4. 	
56 
19 
5 
4 
1 (random loot)
1	
== Loot ==
== Achievements ==
== History ==
== Issues ==
== Trivia ==
*In Bedrock Edition, ocean ruins generate with approximately equal spacing in the X and Z directions.
*In the Bedrock Edition, the loot chest of ocean ruins generates with a water block above it. This can be seen in the image on the right. In Java Edition though, this is not the case, according to the second picture.
== Gallery ==
Underwater Ruins.png|Parts of a larger ruin peek out of the seabed.
Small underwater ruined village.png|Underwater ruined village.
Inside a ruined building.png|Chest found inside a larger building with multiple rooms.
Ruins generated with Prismarine blocks.png|Ruins generated beside a Badlands.
Underwater ruins Lukewarm Ocean.png|Small ocean ruins generated in Lukewarm Ocean.
Hidden Chest in Ruins.png|A chest located in an ocean ruins building, that is hidden by a block, viewed in Spectator mode.
Underwater-ruins-screenshot.jpg|Another screenshot of an ocean ruins structure.
Coral reef at night.png|Underwater ruins generated within a coral reef.
Underwater Ruins with Drowned.png|A ruined village inhabited by drowned.
Drowned spawned in a stuck position.png|The drowned can sometimes spawn in positions that they can't get out of.
LadyAgnes Ocean Ruins 1.jpg|An ocean ruin next to an underwater ravine.
LadyAgnes Ocean Ruins 2.jpg|An ocean ruin at the surface of the ocean.
Big cracked 1.png|A large underwater ruin structure.
Warm ruin 2.png
Warm 3.png
Big warm 7.png
Big warm 5.png
=== Official artwork ===
Sunny Finding the Sniffer Egg.png|Sunny finding the sniffer egg in an ocean ruin and swimming away.
=== Odd generation ===
A ruined village partially generated on land.png|A ruined village partially generated on land.
Underwater ruins on island.png|Ruins generated on an island.
Ruin on land.png|An ocean ruin completely generated on a hill near the water.
Underwater ruins on the outside of Frozen ocean and Beach.png|A ruined village generated on frozen ocean and beaches.
Land ruin.png|Ruins generated on land in Bedrock Edition, note that water generated above the chest.
Mountain Ruin.png|Part of a ruin generated on a windswept hills. The rest of the ruins are in the ocean below. A village can be seen as well.
Land ruin Java.png|A ruined village that generated on land in Java Edition, note that a loot chest is visible and is not waterlogged unlike in Bedrock Edition.
Landruins.png|Underwater ruins generated on land.
Ocean ruin breaks monument.png|Underwater ruins generated intersecting an ocean monument, exposing the treasure room.
Double chest ruin.png|Underwater ruins with 2 chests, with a couple of blocks separating them.
OceanRuinsBeach.png|An ocean ruin generated on a beach, complete with some unlucky drowned.
Ocean ruins chests.png|2 ocean ruins chests generated on top of each other.
Land ruins.png|Ocean ruins found on land.
Ruins in village.png|Ocean ruins generated in village.
Ruinsonland.png|Ocean ruins on a mushroom island shore.
== References ==
de:Ozeanruine
es:Ruinas oceánicas
fr:Ruines sous-marines
it:Rovina oceanica
ja:海底遺跡
pl:Podwodne ruiny
pt:Ruína oceânica
ru:Подводные руины
zh:海底废墟