End portal



An End Portal (sometimes called Ender Portal) is a naturally occurring structure that is used to travel into The End which can only be found in strongholds.

Creation
In survival, the player must venture to a stronghold to activate a pre-existing end portal. However, in creative, the player can build an end portal. The player needs 12 eyes of ender, and should construct a ring of portal frames that fits in a 5x5 square, and use the eyes of Ender to activate them.

Upon placing an eye of ender in every end portal frame block of a specific portal, the portal activates, creating 9 end portal blocks inside the frame, and allowing the player to access the End. If the frame is destroyed, the portal blocks will still operate. In Creative mode, the player can create their own portal but it will only activate if the final eye is inserted into a block which was placed with the player standing inside the ring. The eyes can not be removed from the portal blocks.

Player-made portals may be created adjacent to one another, sharing blocks. However, if they are sharing anything except the corners, the last-placed eye of ender may not be in a block 1 block diagonal to or up to 2 blocks adjacent to any frame block not belonging to that portal. They may, however, be freely stacked vertically.

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. Some of the portal frame blocks already have eyes of ender in them (usually 1-3), while the rest do not.

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, unlike the nether portal while in Survival mode. Upon entering the End, a 5×5 horizontal platform of obsidian is spawned centered at block coordinates (100, 48, 0), and the player is placed on top of it.

Entering an end portal does not reset falling velocity. If you have fallen far enough to kill yourself before hitting the portal, you will be transported to the End and die on arrival.

The black portal blocks emit a light level of 15, which is as powerful as glowstone and is the brightest light level there is. It only takes one block of portal to teleport to the End. Through the use of the and  commands, you can place these portal blocks anywhere, and they will still function as if they were a complete portal.

Activating the end portal will destroy any blocks located in the center 3 × 3 square, where the resulting end portal blocks will be. They will even destroy bedrock or another end portal frame. It will destroy fluids, though if the source block is not also removed, then it will immediately flow back through. If an exit portal is generated on a spawner, the fire particles will still remain. The destruction of the blocks does not make any sound, and applicable blocks do not drop as resources (exceptions being the top part of a door or the extended part of a vertical piston, which both destroy the whole object and drop them as resources), and events sometimes triggered by block destruction will fail to occur: TNT will simply disappear without detonating, and Monster Eggs will fail to spawn a silverfish. However, containers will all drop their contents. Mobs will enter the portal (As well as the exit portal) similar to the player. If the player rides a minecart into an active end portal, the player will only enter the End when they have exited the minecart.

Exit portal
The portal for exiting the End, which appears after the defeat of the Ender Dragon, 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 surrounded by torches and topped with a dragon egg.

In the Console Edition and since PC snapshot 15w31a, the Exit portal always spawns at 0, 65, 0, and remains deactivated until the Ender Dragon is killed.

The exit portal is made up of the same block and block entity as the End Portal, but due to being located in the End, teleports players to the Overworld instead of the End. If an Ender Dragon is spawned outside of The End, the dragon will drop an exit portal that will take you to The End instead of returning you to the Overworld.

Note that in the launcher, exiting will open up credits and then spawn you in your spawn point.

Trivia

 * You can see through the bottom of an activated end portal because the portal block is not visible from the bottom.
 * If you drop a gravity following block into the portal it will cause the end portal area to clear, and will be placed on the end side, however it will also be destroyed when other gravity blocks or the player go through the portal.