Exit portal

The exit portal (also known as the end fountain) is a structure that enables the player to return to their spawn point, activating upon each defeat of the ender dragon.

Generation
The exit portal always generates at the coordinates  in the End biome, and is de-activated whenever an ender dragon fight is in progress. The y-level of the portal is determined by the height of the terrain, placing the portal blocks at the y-level of the highest block found at. If the exit portal spawns at the top of the world, the portal blocks will be the highest blocks generated, with the top 3 blocks of the bedrock pillar failing to generate due to the maximum build height having been reached.

Structure
The exit portal looks similar to the end portal but differs in its design. Instead of a frame of end portal frame blocks, it has a 7-block wide bowl-shaped frame of bedrock, and a central pillar of bedrock with a torch on each side. A dragon egg generates atop the pillar upon defeating the ender dragon for the first time.

There are 16 end stone blocks, one under each outer bedrock block, as well as four torches. If any of the blocks are removed, they regenerate when the ender dragon is defeated or respawned.

Behavior
The portal returns the player to their spawn point. The credits roll when a player enters an exit portal for the first time.

If an entity other than a player goes through, like falling sand or thrown items, it is sent to the world spawn.

If a player dies above the portal (for example by flying into the bedrock column with enough momentum) the player goes through and player's items disappear.

Using custom world generation, if the end biome appears around the origin in the Overworld, the Nether, or a custom dimension, then the exit portal appears at  with the portal blocks in place. However, instead of taking the player to their spawn point, the portal takes them to the End dimension.

Trivia

 * $$, if the player manages to break all of the end portal blocks in the exit portal, the entire structure regenerates after 5 seconds.
 * If all of the portal blocks have end crystals above (so the fire constantly eliminates the portal), this regeneration process repeats until a portal block successfully regenerates.
 * If an End Portal is built in Creative mode in The End or generated through custom world generation, then it also acts as an Exit Portal.
 * If the exit portal generates at the tallest possible height and the ender dragon is defeated, the portal blocks will spawn in the exit portal as normal, but the dragon egg will not spawn due to its intended location surpassing the build height limit.

Endbrunnen Portail de l'End 出口ポータル 출구 차원문 Endportaal Fontanna Endu Portal do End Портал Края 返回传送门