Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:End Gateway

From SAS Gaming Wiki
Revision as of 11:07, 6 May 2026 by SyncBot (talk | contribs) (Sync: new page from Minecraft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Redirect Template:Infobox structure End gateways are intradimensional Minecraft:portals generated in Minecraft:the End: some are spawned around the central island after each death of the Minecraft:ender dragon; others are randomly generated throughout the outer islands.

On the central island, up to 20 gateways can be spawned. These can send the player far away to the outer islands, each of which has a corresponding gateway that returns the player back to the central island. There are other randomly-generated gateways that always lead the player back to the Minecraft:End platform. They provide quick access to the different parts of the End dimension.

Generation

File:EndGatewayComplete.png
20 End gateways with beacons to mark their positions.
File:EndGatewayGeneration.png
An example of End gateway generation shown on a graph in X-Z coordinates.
Blue dots: gateways on the central island.
Red dots: gateways on the outer islands.
Lines: the connections between gateways.

By defeating the dragon

On the central island

A group of 20 End gateways can be spawned around the edge of the central island, one at a time by defeating the dragon. Their configuration resembles a circle, equally distributed, surrounding the island at Y-level 75, at a distance of 96 blocks (regardless of angle) away from the center (0,0) in random order.

These gateways are referred in the game as Template:Code. They function by sending the player far away to the outer islands, in the exact direction that that gateway is located relative to the island center (0,0).

They do not regenerate after the ender dragon has been defeated 20 times.

The position of these gateways are always fixed, as is shown below:

Number Position
1 x:96 y:75 z:0
2 x:91 y:75 z:29
3 x:77 y:75 z:56
4 x:56 y:75 z:77
5 x:29 y:75 z:91
6 x:-1 y:75 z:96
7 x:-30 y:75 z:91
8 x:-57 y:75 z:77
9 x:-78 y:75 z:56
10 x:-92 y:75 z:29
11 x:-96 y:75 z:-1
12 x:-92 y:75 z:-30
13 x:-78 y:75 z:-57
14 x:-57 y:75 z:-78
15 x:-30 y:75 z:-92
16 x:0 y:75 z:-96
17 x:29 y:75 z:-92
18 x:56 y:75 z:-78
19 x:77 y:75 z:-57
20 x:91 y:75 z:-30

The formulas for these coordinates are (where the <math>\lfloor \rfloor</math> symbols mean "round down" and <math>k \in \mathbb{N},\ k\leq20</math>):

<math>x=\left\lfloor 96\cdot\cos\frac{\pi k}{10}\right\rfloor</math>
<math>z=\left\lfloor 96\cdot\sin\frac{\pi k}{10}\right\rfloor</math>

The order in which these gateways are created as dragons are killed depends on the world seed.

On the outer islands

Each of the 20 gateways on the central island, when it is first activated, spawns an additional gateway linked to it. These linked gateways are located much farther away, reaching out in all directions to the outer islands in the End dimension. They still arrange in a circular way, but their distances to the central island vary depending on the distance to the first land in their direction.

Their function is to send the player back to the original End gateway on the central island.

Details

Template:Exclusive The game first draws a line with a length of 1024 blocks from the center (0,0) through the northwest corner of the activated gateway. If the chunk at the end of the line contains any blocks above Y=15, the line is progressively shortened by 16 blocks until a chunk is found with no such blocks or the line reaches a length of 768. Then, if the chunk at the end of the line has no blocks above Y=15, the line is progressively lengthened by 16 blocks until a chunk is found with any such block or the line reaches a length of 1280.

Once a chunk is selected, it is scanned for any End stone blocks at or above Y=30 that have two non-full blocks<ref group="note">A "full block" in this context is one that has a full-block collision box. Chorus plant blocks do not have a full-block collision box, but Minecraft:chorus flowers do.</ref> above. If such a block exists the south-east corner of the chunk is selected,<ref>Template:Bug</ref> or if no such block exists in the chunk then a Minecraft:small island is generated at the end of the line at Y=75 and that position is selected. The position is then moved to the highest full block within ±16 on the X and Z axes (favoring the north and west in case of ties) and a gateway structure is generated 10 blocks above that position.

Knowing this, the position of the outer gateway can be manipulated. However, once an End gateway on the central island has been activated, it is indefinitely linked to the position of the generated gateway on the outer islands. Changing the position of the outer gateway is then no longer possible.

By natural generation

End gateways also generate naturally throughout the outer End islands (in the Template:BiomeLink Template:In). They are referred to in the game as Template:Code. Unlike the aforementioned gateways, these gateways teleport entities back to the Minecraft:End platform, allowing players to escape from the End without having to find their way back to the gateways generated when using one on the main island, which could be very far away. This makes it feasible to go deep into the End to search for Minecraft:end cities.

Entities that teleport through End gateways in this fashion do not cause the End platform to regenerate.

Template:Calculator

Construction

Template:Main

The End gateway is composed of an End gateway block confined within a vaguely octahedral formation made up of 12 Minecraft:bedrock blocks.

Behavior

Template:Main

A magenta Template:Color beam shoots out vertically from the top and bottom of the gateway when it is generated. The beam disappears after 10 seconds. When an Minecraft:entity enters the gateway, the gateway emits a purple Template:Color beam instead for 2 seconds. In addition, this purple beam also emits automatically every 2 minutes (2400 game ticks).<ref>Template:Bug</ref>

The bedrock arrangement prevents the player from entering the gateway directly. Throwing an Minecraft:ender pearl or flying with Minecraft:elytra straight into the End gateway block teleports the Minecraft:player to the outer End islands. Players can also access the inside of an End gateway by constructing a water channel leading into it and Minecraft:sprint-swimming through the channel and into the gateway, or by Minecraft:crawling.

Once the gateway is activated, another End gateway generates in the outer End islands near to where the player is teleported; this gateway teleports the player back to the original gateway, providing a way to return to the main island.

Template:FakeImage

Template:IN, the position where the player or entity lands after teleporting is determined by a systematic algorithm: The gateway searches for a full block that isn't bedrock, starting from the northwest corner at the topmost height (Y=255) within a 5-block radius around the gateway block (shown as the Minecraft:block of gold in the image on the right). If there is a block at that position, then the entity is teleported onto that block. If there is no block, then the next position along the Z-axis is searched (shown as the Minecraft:block of lapis lazuli in the image on the right). This continues along each column in an 11×11 area at the same Y-level with the exception of blocks above, below, or directly adjacent (including diagonals) to the gateway block. If there are no blocks, it moves one Y-level down and repeats the sequence from the northwest corner again. It continues doing this until every height is checked. If there are no blocks within any of these points, it always teleports the entity exactly two blocks above the gateway block.

Template:IN, End gateways teleport the player using a different algorithm, but the exact details are not known.Template:Info needed A few notable differences are:

  • Entities can land on slabs and other partial blocks. Converesely, there seem to be certain situations when a teleport location is not considered valid.
  • Entities can land considerably farther away from the gateway than an 11×11 area.
  • If there are no valid locations, the game generates a small floating island near the gateway, and the entity lands on this island.

End gateways allow entities with passengers (e.g., a player in a boat, a shulker in a minecart) to go through them.

Sounds

Template:Edition Template:SoundTable

Template:Edition: None

Data values

ID

Template:El: Template:ID table

Template:ID table Template:ID table

Template:El: Template:ID table

Block data

An End gateway has a block entity associated with it that holds additional data about the block.

Template:El: Template:See also

  • Template:Nbt Block entity data
    • Template:Nbt inherit/blockentity
    • Template:Nbt: (optional) Whether the gateway should teleport entities in the exact exit position. Exists only if true (defaults to false). Set to true for naturally generated end gateways in the end highlands.
    • Template:Nbt: (optional) The block location that those who enter get teleported to. If this is not set, the game generates a linked outer gateway when the first entity goes through and set it to the location of the gateway block. This is set to the location of the end platform for naturally generated end gateways in the end highlands.
    • Template:Nbt: The number of ticks that the end gateway has existed for. Used to display the purple "beacon" beam. Setting this to an arbitrarily low number prevents the beam from appearing within a practical time period.

Template:El:

See Minecraft:Bedrock Edition level format/Block entity format.

Config

Template:Main Template:El:

<section begin="config"/>

<section end="config"/>

Template:Collapse <syntaxhighlight lang="json"> {

 "type": "minecraft:end_gateway",
 "config": {
   "exact": true,
   "exit": [
     100,
     50,
     0
   ]
 }

} </syntaxhighlight> Template:Collapse

Advancements

Template:Load advancements

History

File:MINECON 2015 End gateway.png
An early End gateway design shown during MINECON 2015.
File:PortalYellowBeam.png
End gateways used to emit yellow beams when entities would enter them.

Reveal

Template:HistoryTable

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Legacy Console Edition

Template:HistoryTable

New Nintendo 3DS Edition

Template:HistoryTable

Issues

Template:Issue list

Trivia

  • If an End gateway is broken (e.g. in Creative), players can still enter the gateway on the other end. This teleports the player to the broken portal, which does not regenerate.
  • Using the Template:Nbt tag and commands such as Template:Cmd, it is possible to create a gateway portal in the Overworld or any other dimension and program it to go to a location.

Gallery

Screenshots

Notes

Template:Notelist

References

Template:Reflist

See also

Navigation

Template:Navbox The End Template:Navbox generated features

Minecraft:de:Endtransitportal Minecraft:es:Nexo del End Minecraft:fr:Passerelle de l'End Minecraft:ja:エンドゲートウェイポータル Minecraft:ko:엔드 관문 Minecraft:lzh:終界門關 Minecraft:pl:Brama Endu Minecraft:pt:Passagem do End Minecraft:ru:Врата Края Minecraft:zh:末地折跃门