End gateway (2024)

This article is about the feature. For the block, see End Gateway (block). For the portal for accessing the End, see End portal.

"Gateway" redirects here. For the fence, see Fence Gate.

End gateways are intradimensional portals generated in the End: some are spawned around the central island after each death of the 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 obsidian platform. They provide quick access to the different parts of the End dimension.

Contents

  • 1 Generation
    • 1.1 By defeating the dragon
      • 1.1.1 On the central island
      • 1.1.2 On the outer islands
    • 1.2 By natural generation
  • 2 Construction
  • 3 Behavior
  • 4 Sounds
  • 5 Data values
    • 5.1 ID
  • 6 Advancements
  • 7 History
  • 8 Issues
  • 9 Trivia
  • 10 Gallery
  • 11 See also
  • 12 References

Generation[]

End gateway (1)
End gateway (2)

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 perfect 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 END_GATEWAY_DELAYED. They function by sending the player far away to the outer islands, in the exact direction that that gateway is located relatively 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:

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

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 spawns an additional gateway that is connected to itself, after having been activated once. These gateways are located much further away, reaching out in all directions to the outer islands in the End dimension. They still arrange in a circular way, but the distances of them to the central island varies, depending on how far is the first land that they contact.

Their function is to send the player back to the original gateway in the central island that it links itself.

Details

The game first draws a line with a length of 1024 blocks from the center (0,0) through the north-west 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[1] above. If such a block exists the south-east corner of the chunk is selected,[2] or if no such block exists in the chunk then a 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 exit 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 island. Changing the position of the outer gateway is then no longer possible.

By natural generation[]

Another group of gateways are generated randomly throughout the outer End islands (in the End Highlands in Java Edition), where there are an unlimited number of them. They are referred in the game as end_gateway_return.

Their function is similar to the ones that teleport the player back to the central island, but instead they always send them back to the obsidian platform, allowing for an easy and quick travel back to the central island. Unlike through end portals, entities that teleport through end gateways in this fashion do not cause the obsidian platform to regenerate.

Construction[]

Main article: /Structure

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

Behavior[]

Main article: End Gateway (block)

A magenta
beam shoots out vertically from the top and bottom of the gateway when it is generated. The beam disappears after 10 seconds. When an entity enters the gateway, the gateway emits a purple
beam instead for 2 seconds. In addition, this purple beam also emits automatically every 2 minutes (2400 game ticks) if there is no entity being teleported.[3]

The bedrock arrangement prevents the player from entering the gateway directly. Throwing an ender pearl or flying with elytra straight into the end gateway block teleports the 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 sprint-swimming through the channel and into the gateway, or by crawling.‌[Java Edition only]

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.

11 × 11 horizontal teleportation range

In Java Edition, 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 north-west corner at the topmost height (Y=255) within a 5 block radius around the gateway block (shown as the gold block 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 lapis lazuli block 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 north-west corner again. It continues doing this until every height is checked, and if there are no blocks within any of these points it always teleports the entity exactly two blocks above the gateway block.

In Bedrock Edition, end gateways teleport the player using a different algorithm, but the exact details are not known.[more information needed] A few notable differences are:

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

Unlike nether portals or end portals, end gateways allow entities with passengers (e.g. a player in a boat, a shulker in a minecart) to go through it.

Sounds[]

Java Edition:

SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
ExplosionBlocksWhen an end gateway is spawned on the central End islandblock.end_gateway.spawnsubtitles.entity.generic.explosion1.00.5-0.916

Bedrock Edition: None

Data values[]

ID[]

Java Edition:

Configured featureIdentifier
[No displayed name]end_gateway_delayed
[No displayed name]end_gateway_return

Bedrock Edition:

FeatureIdentifier
[No displayed name][No ID]

Advancements[]

Icon Advancement In-game description Parent Actual requirements (if different) Resource location
End gateway (3)Remote Getaway
Escape the islandFree the EndThrow an ender pearl through, fly, or walk into an end gateway.end/enter_end_gateway

History[]

End gateway (4)
End gateway (5)
Java Edition
1.9July 05, 2015End gateway (6) End gateways were previewed during MINECON 2015.
At the time, end gateways were structured in the shape of small cubes.
15w31aEnd gateway (7) Added end gateways.
End gateways now take on their modern roughly octahedral shape.
15w33aEnd gateway (8) The texture and rendering of the end gateway block has now been changed.
The beam to use a separate texture from the beacon beam has now been changed.
1.1116w39aEnd gateways now generate randomly throughout the End outer islands, that return the player to the obsidian platform on the central island.
End gateways now emit magenta beams (previously yellow) when teleporting entities.
?End gateway cooldown increased from 20 to 40 ticks.
1.1418w50aEnd gateway (9) The texture of bedrock has been changed.
Pocket Edition
1.0.0alpha 0.17.0.1End gateway (10) Added end gateways.
Bedrock Edition
1.10.0beta 1.10.0.3End gateway (11) The texture of bedrock has been changed.
Legacy Console Edition
TU46CU36 1.38 Patch 151.0.1End gateway (12) Added end gateways.
A maximum of one end gateway can generate on Xbox 360 Edition, PlayStation 3 Edition, PlayStation Vita Edition, and Wii U Edition.
A maximum of four end gateways can generate on Xbox One Edition, PlayStation 4 Edition, and Nintendo Switch Edition.
New Nintendo 3DS Edition
1.7.10End gateway (13) Added end gateways.
A maximum of one end gateway can generate.

Issues[]

Issues relating to "End gateway" are maintained on the bug tracker. Report issues there.

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 ExitPortal tag and the /setblock command it is possible to create a gateway portal in the Overworld and program it to go to a location.

Gallery[]

  • End gateway (14)

    A gateway emitting a magenta beam.

  • End gateway (15)

    A gateway generated above a small island.

  • End gateway (16)

    A gateway generated above an end city.

  • End gateway (17)

    End gateway generated somewhere in the End.

  • End gateway (18)

    An end gateway floating above the outer end islands.

See also[]

References[]

  1. 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 chorus flowers do.
  2. MC-173351—When creating an exit end gateway, the method findPortalPosition does not return a proper BlockPos
  3. MC-107824—resolved as "Works As Intended".
End gateway (2024)
Top Articles
Latest Posts
Article information

Author: Edmund Hettinger DC

Last Updated:

Views: 5972

Rating: 4.8 / 5 (78 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Edmund Hettinger DC

Birthday: 1994-08-17

Address: 2033 Gerhold Pine, Port Jocelyn, VA 12101-5654

Phone: +8524399971620

Job: Central Manufacturing Supervisor

Hobby: Jogging, Metalworking, Tai chi, Shopping, Puzzles, Rock climbing, Crocheting

Introduction: My name is Edmund Hettinger DC, I am a adventurous, colorful, gifted, determined, precious, open, colorful person who loves writing and wants to share my knowledge and understanding with you.