End Gateway (block)

The end gateway is a block that appears as part of end gateways which teleport the player between the main island and the other islands in the End.

Obtaining
The end gateway block cannot be obtained as an item. It can only be placed by using block placement commands such as or, and not ones such as  that drop the item directly. They generate naturally as part of end gateways.

In the Bedrock Edition, it may be obtained as an item via inventory editing. There are glitches that allow end gateways to be broken, and it drops as an item. It cannot be placed by block placement commands in this edition.

If somehow obtained and renamed, when the player places it down, the game immediately crashes.

Usage
End gateway blocks in their original form can be used to teleport to the outer islands of the end. There is a small chance for the block to teleport players away from islands and into the void. End gateway blocks can be used as a custom teleporter using NBT tags.
 * tag will hold a set of X/Y/Z coordinates to determine the general location the player will be "safely" teleported to when entering.
 * Setting  to 1 teleports entities to the specified coordinates exactly instead of at a safer location around those coordinates.
 * determines how long the gateway has existed. This is used to determine when the beam is rendered.
 * Example:

When created in a dimension other than the End without ExitPortal NBT data, it does not teleport entities but will still activate its beam effect when an entity enters.

A piston cannot push an end gateway block.

Beam
When generated (either naturally as part of an end gateway, or through ), the block will shoot a magenta beam of light vertically from its top and bottom which lasts for 200 tick and fades in and out.

An end gateway block will also shoot a purple beam of light vertically from the top and bottom when an entity enters it. During the 40 tick this beam is visible, no additional entities can be teleported.

It will also fire the purple teleport beam every 2400 tick without an entity being teleported.

The creation beam extends from around Y=0 through the block up to Y=256; the teleport beam goes 50 blocks above and below the beam. The beam is visible from roughly the same distance as a single ordinary stack of blocks. If a render distance of 16 chunks is set, the beam of light is visible from up to 255 blocks away. Unlike a beacon's beam, this beam won't change color when the player put stained glass over it.

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

Trivia

 * The end gateway is the only 'portal' block that is a full cube.
 * The End Gateway starfield pattern is different from the End Portal Block, which add extra blue streak flying horizontal on the screen.