End portal



An end portal is a naturally occurring generated structure that is used to travel into the End. It can only be found in the portal room of a stronghold.

Creation
In Survival mode, the player must venture to a stronghold to activate a pre-existing end portal, as end portal frame blocks cannot be obtained naturally. The portal is activated when an eye of ender has been placed in each of the end portal frame blocks, generating 9 end portal blocks within the structure. Eyes of ender cannot be removed from end portal frames.

In Creative mode, the player can construct an end portal by placing 12 end portal blocks in a ring enclosing an open 3x3 square and placing an eye of ender in each one. In order to activate, the end portal frames must be oriented correctly; the front face of each portal must be pointed inward toward the 3x3 portal area. This can be achieved by the player standing in the center of the portal area and rotating to place the frames in a ring around them.

Note, however, that the end portal blocks do not depend on the end portal frame to exist; thus, one may create standalone portals with commands or by breaking the frames.

Generation
End portals are found within the portal room of a stronghold, hanging horizontally over a pool of lava, with a staircase leading up to the portal. A silverfish spawner sits in the staircase. Each individual end portal frame block has a 10% chance of containing an eye of ender. This means there is a one in 1 trillion chance for all 12 end portal frames to contain an eye of ender, activating the portal upon initial generation. The frame has the highest probability of generating with only one eye of ender (37.7%), with probabilities dropping to 28.2% for zero, 23.0% for two, 8.52% for three, 2.13% for four, and a total of 0.433% for five or more. Only two seeds $$ are known to generate portals with 12 eyes of ender.

Behavior
Stepping into an activated end portal immediately opens up a loading screen and transports the player to the End—this leaves no time to back out, like entering a nether portal in Creative mode. Upon entering the End, a 5×5 horizontal platform of obsidian is generated centered at block coordinates (100, 48, 0), and the player is placed on top of it (100, 49, 0, facing west).

Entering an end portal does not reset falling velocity. If the player had fallen far enough to die of fall damage before hitting the portal, the player will die upon arrival in the End.

The end portal blocks emit a light level of 15—the brightest light level in game. Only one end portal block is needed to teleport to the End. End portal blocks can be placed anywhere with use of the and  commands, and they function as if they were a complete portal.

Activating the end portal destroys any blocks located in the center 3×3 square, including bedrock or another end portal frame. It destroys fluids, although if the source block is not also removed, then it immediately flows back through. If an end portal is generated on a spawner, the fire particles remain. The destruction of the blocks does not make any sound, and applicable blocks do not drop as resources (except for the top part of a door and the extended part of a vertical piston, which both destroy the whole object and drop them as resources). Events sometimes triggered by block destruction fail to occur; TNT simply disappears without detonating, and infested blocks fail to spawn a silverfish. However, containers still drop their contents. Mobs (except for the wither and ender dragon) enter the portal similarly to the player. If the player rides a minecart into an active end portal, the player enters the End only after exiting the minecart.

Creating an end portal in the end teleports you back to the overworld.

Trivia

 * A player can see upward through the bottom of an activated end portal because the portal block is not visible from the bottom.
 * Dropping a gravity-following block into the portal it causes the end portal area to clear and is placed on the end side; however, it is destroyed when other gravity blocks or the player go through the portal.
 * It is not possible for a player to build an End portal in the Nether without using cheats or debug mode. If a player does do, the portal is invisible and when a player goes through it, the end credits play and the player is transported to their spawn point in the Overworld. In the snapshot 20w14∞, this is also true of any other dimension that is not the Overworld. $$, however, the portal can be created and functions normally, teleporting the player to the End.