Ruined Portal

A ruined portal is a naturally generated damaged nether portal, which spawns in both the Nether and the Overworld. It contains some decoration and a loot chest around it.
== Generation ==
Ruined portals are the only generated structures that generate in more than one dimension; they generate in all biomes in both the Nether and the Overworld. They can spawn underground, underwater, or exposed to the air. If they generate underground, they have air pockets around them. Natural terrain around ruined portals generates as netherrack. They also generate a mass of netherrack underneath them (including "stalactite"-like shapes, and this may contain blackstone deposits in the Nether). Giant ruined portals have 3 distinct designs, and normal ruined portals have 10 designs. When a ruined portal generates, it has a 5% chance to be a giant ruined portal, for about a 1.67% chance per giant portal design. This gives normal ruined portals a 95% chance, for a 9.5% chance per normal ruined portal design.
 	Biome 	Biome 	Biome 	Biome 	Biome 	Biome 	Biome 	Biome 	Biome
 	Standard 	Standard 	 	 	 	 	 	Ocean 	Nether
Verticalplacement	Underground(50%)	Surface(50%)	Partly buried	Surface	Ocean floor	In windswept hills(50%)	Surface(50%)	Ocean floor	Nether
 	0.2 	0.2 	0 	0.8 	0.5 	0.2 	0.2 	0.8 	0
 	 	 	 	 	 	 	 	 	
 	colspan=2 	 	 	 	colspan=2 	 	 	 	
 	colspan = 2 	 	 	 	colspan = 2	 	 	 	
 	colspan = 2 	 	 	 	colspan = 2	 	 	 	
Ruined portals that generate underground do so at Y-level from 15 to , where is the highest block at the point of generation and is the height of the ruined portal structure. This means the terrain is always higher than or level with the top of the structure. Some ruined portal variants are short enough to generate completely on the surface.
Ruined portals that generate in windswept hills generate at y-level from 70 to .
Ruined portals that generate partially buried do so at y-level , plus a random integer from 2 to 8. This means that the structure has 2 to 8 layers raised above the surface.
In the Nether, ruined portals with air pockets generate from Y-level 32 to 100. Ruined portals without air pockets have a 50% chance to spawn from Y-level 27 to 29, and a 50% chance to spawn from Y-level 29 to 100.
Many blocks in ruined portals are replaced upon generation. A ruined portal is in a snowy biome if the temperature is less than 0.15.
Original Block 	Replacing Block	
 	 	30%
 	 	On ocean floor: 100%Not on ocean floor: 20%Cold: 0%
 	 	Cold: 100%Not cold: 0%
This includes netherrack generated as part of the netherrack "spread" through nearby terrain.	 	Not cold: 7%Cold: 0%
 	 	15% in Java Edition, 20% in Bedrock Edition
 	 	50%×(1-Mossiness)
 	 	50%×Mossiness
Any slabs 	 	Mossiness
Any stairs 	 	50%×(1-Mossiness)
Any stairs 	 	50%×Mossiness
Any walls 	 	Mossiness
== Structure ==
Ruined portals generate incomplete portal frames composed of obsidian and, sometimes along with crying obsidian, although nether portals cannot be activated with crying obsidian in the frame. Resolved as "Works as Intended". Some frames generate flat on the ground, as if they toppled over. Others are free-standing separately, as if still being assembled/attached.
All ruined portals generate with a chest on Bedrock Edition, but on Java Edition the chest may be replaced if terrain overrides it. Each chest contains various golden items and items used to build portals such as obsidian and flint and steel.
Any ruined portal generated in the Overworld is surrounded with structures made of stone, stone bricks, and iron bars; in the Nether it is surrounded by blackstone variants and chains.
Currently there are 13 variants: 10 normal size portals and 3 giant portals in varying states of decay.
, ruined portals can be generated by the player by loading or with a structure block. These ruined portals generate as they are stored, meaning they are not modified as detailed in the Generation section above. All portals generated this way create air pockets if generated in other blocks.
=== Overworld ===
Note that some blocks can be replaced with others (such as crying obsidian) upon generation. A full list can be seen below.
Structure name	Description 	Consists of	Images
 	A large incomplete portal. 	
263 
63 
38 
31 
20 
18 
11 
4 
2 
1	
 	A large incomplete portal. 	
237 
55 
30 
29 
22 
19 
18 
6 
2 
1	
 	A large incomplete portal, with the most gold blocks, separate obsidian. 	
324 
51 
40 
33 
25 
22 
6 
6 
6 
1	
 	A small incomplete portal, with stone slabs and no lava. 	
55 
11 
10 
9 
7 
6 
3 
2 
1 
1 
1	
 	A hanging incomplete portal. 	
115 
26 
19 
14 
11 
10 
4 
2 
2 
1 
1 
1	
 	A small incomplete portal, with no gold block. 	
132 
36 
16 
11 
2 
1	
 	A small incomplete portal. 	
130 
36 
16 
11 
3 
1 
1	
 	A small portal, where the top of the portal has fallen over. 	
145 
22 
15 
12 
6 
5 
3 
2 
1 
1 
1 
1	
 	A 5x5 portal, where the top center block is misplaced. 	
41 
16 
4 
2 
1 
1	
 	An incomplete portal submerged in lava. 	
92 
21 
12 
3 
2 
1 
1 
1	
 	An incomplete portal at the top of a staircase. The top has fallen into lava.	
144 
26 
17 
14 
6 
4 
3 
2 
1 
1	
 	A small incomplete portal. 	
63 
11 
11 
2 
1 
1 
1	
 	An incomplete portal that has fallen backward into lava. 	
123 
19 
13 
13 
3 
3 
3 
2 
1	
=== Nether ===
Structure name	Description 	Consists of	Images
 	A large incomplete portal. 	
263 
63 
38 
31 
20 
18 
11 
4 
2 
1	
 	A large incomplete portal. 	
237 
55 
30 
29 
22 
19 
18 
6 
2 
1	
 	A large incomplete portal, with the most gold blocks, separate obsidian. 	
324 
51 
40 
33 
25 
22 
6 
6 
6 
1	
 	A small incomplete portal, with stone slabs and no lava. 	
55 
11 
10 
9 
7 
6 
3 
2 
1 
1 
1	
 	A hanging incomplete portal. 	
115 
26 
20 
14 
11 
10 
4 
2 
2 
1 
1	
 	A small incomplete portal, with no gold block. 	
132 
36 
16 
11 
2 
1	
 	A small incomplete portal. 	
130 
36 
16 
11 
3 
1 
1	
 	A small portal, where the top of the portal has fallen over. 	
145 
24 
15 
12 
6 
5 
3 
1 
1 
1 
1	
 	A 5x5 portal, where the top center block is misplaced. 	
41 
16 
4 
2 
1 
1	
 	An incomplete portal submerged in lava. 	
92 
21 
12 
3 
2 
1 
1 
1	
 	An incomplete portal at the top of a staircase. The top has fallen into lava.	
144 
26 
17 
14 
6 
4 
3 
2 
1 
1	
 	A small incomplete portal. 	
63 
11 
11 
2 
1 
1 
1	
 	An incomplete portal that has fallen backward into lava. 	
123 
19 
13 
13 
3 
3 
3 
2 
1	
=== Blocks ===
All ruined portals	Overworld	Nether
* 
* 
* 
* 
* 
* 
*	
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
*	
* 
* 
* 
* 
* 
* 
* 
* 
* 
*
== Loot ==
Most ruined portal structures contain enough obsidian to make a complete portal, although in the smaller portals, there may not enough because each obsidian has a 15% or 20% chance to be replaced by crying obsidian.
== History ==
== Issues ==
== Gallery ==
Taiga ruined portal.png|A ruined portal in a taiga biome.
Underground ruined portal.png|A ruined portal found underground.
Giant ruined portal.png|A giant ruined portal generated next to a desert and ocean biome using the Programmer Art resource pack.
Ruined portal nether.png|A ruined portal that generated in a crimson forest in the Nether.
Ruined Portal chest loot in nether.png|Loot from a ruined portal chest.
Buried Ruined Portal.png|A ruined portal that generated in an abandoned village.
Ruined Nether Portal with Shipwreck.png|A ruined nether portal generated next to a shipwreck.
Nether giant ruined portal.png|A giant ruined portal generated in the Nether.
Ruined portal in Bastion Remnant.png|A ruined portal generated within a bastion remnant.
Ruined portal.png|Ruined portal in Badlands biome with a mineshaft behind it.
Portal in river.jpg|Ruined portal on the bottom of a river.
Templedestroyedbyportal.png|Jungle temple destroyed by ruined portal.
Ruinedportalinhill.png|A ruined portal, which generated inside the hill.
Lake Portal.png|A portal that generated on a river.
Polar Bear of the Portal.png|A ruined portal that generated on an iceberg in a frozen ocean.
GodPortal.png|A ruined portal chest containing an enchanted golden apple.
HotandCold.png|Snowy Plains village reaching to the neighboring savanna. There is also a ruined portal nearby.
Villageandportal.png|Huge village along with the ruined portal, just near the world spawn.
Mesaportal.png|Ruined portal generated in wooded badlands.
Hugeportal.png|Huge ruined portal next to a savanna village.
Portal with animals.png|Huge ruined portal with a lot of animals nearby.
Ruined portal inside hill.png|Ruined portal generated in mountain meadow hill. 
PortalAndTents.png|Ruined portal next to pillagers' tents.
Mineshaft with portal.png|Ruined portal generated along with mineshaft.
WarmOceanRuinedPortal.png|A ruined portal that is sticking out of a warm ocean.
Water portal 1.19.png|A ruined portal that generated close to the bottom of a river.
Mushroomportal.png|A ruined portal in a mushroom fields biome.
Village and portal.png|Ruined portal in a village.
Coral Reef Ruined Portal.jpg|A ruined portal generated near a coral reef.
Forgotten Portal.jpg|A portal in a warped forest.
=== Odd generation ===
Desert ruined portal partially buried.png|A ruined portal generated partially buried in a desert.
Ruined Portal Toppled Over Under RIver.png|An underground ruined portal that created a pocket of air at the bottom of a river.
Ruined portal above a Ravine.png|A ruined portal generated over a ravine.
A ruined portal generated in lava.png|A ruined portal generated in lava.
Completely Submerged Ruined Portal.png|A ruined portal completely submerged into lava.
RuinedPortalWithLeaves.png|Jungle leaves generated over a ruined portal. Some leaves caught fire from lava.
Jungleportal.png|Ruined portal generated in jungle biome. Notice the starting forest fire.
Ruined portal generated in the air.png|Ruined portal that generated in the air.
Ruined portal with shipwrek.png|Ruined portal broken by the shipwreck.
Floating Ruined Portal.jpg|A leaf-covered ruined portal floating on the surface of the ocean.
Ruined portal in village.png|A ruined portal spawned in the same place as village's house.
== References ==
de:Portalruine
es:Portal en ruinas
fr:Portail en ruine
it:Portale in rovina
ja:荒廃したポータル
ko:무너진 차원문
pl:Ruina portalu
pt:Portal em ruínas
ru:Разрушенный портал Нижнего мира
zh:废弃传送门