End portal



An end 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 frame blocks that encloses a 3×3 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 all of the end portal frames were placed with the front facing inward, i.e. placed with the player standing inside the ring. The eyes can not be removed from the portal blocks.

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.

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. You will also need ender pearl. Place these on the four corners.

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 generated centered at block coordinates (100, 48, 0), and the player is placed on top of it (100, 49, 0, towards west)..

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 (except the wither and ender dragon) will enter the 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 exit portal always generates at X=0, Z=0, Y=(Terrain's Surface) and remains deactivated until the ender dragon is killed. It 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, topped with a dragon egg. There are 16 end stone blocks, one under each outer bedrock block, and if mined they will regenerate when the Ender Dragon is defeated or respawned.

If a player goes through the exit portal, the credits will roll, after which they will go to their spawn point in the Overworld. If an entity that isn't a player goes through, it will be sent to the world spawn location.

The portal is made up of the same block and block entity as the End portal.

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.
 * If you break an end portal frame after activatitng the portal, the portal blocks remain.