-
Notifications
You must be signed in to change notification settings - Fork 1
Wall Teleporter
Wall teleporters allow you to travel within or between dimensions [see know issues]. They can be built to any size you would like, as long as all the blocks have one other teleporter next to them. To teleport you simply walk into the block.
- 2 x Blaze Powder
- 2 x End Stone
- 1 x Eye of Ender
- 1 x Gold Block
- 1 x Ender Pearl
- 2 x Redstone Dust
Before you can use the teleporters, you must give them a location to teleport to, as well as some fuel. To set the location to teleport to, you need to place a linked GPS Chip in the top right slot of the GUI (right click the teleporter). The chip will then jump to the bottom right slot and you may remove the chip and reuse from there. Once the location has been set, information about where you will teleport will be shown in the middle of the screen, including world name and coordinates. Once set you must supply the teleporter with a fuel source. Currently the only fuel source is ender pearls and 1 ender pearl will allow 16 teleports or 'trips'. The number of trips left is indicated by a small green slider next to the fuel slot. To teleport, simply wall into the wall teleporter.
To set the teleporter to a new location, you can simply place a new chip in the top right slot. This will overwrite the current destination. To completely clear the destination, there is a bottom in the top right of the GUI that will do just that. One click of the button (indicated by the cross) will clear the destination.
The wall teleporters have the ability to take the texture of any other block in the game, modded or vanilla. To apply a mask you simply right click the wall teleporter block with the block you would like to use as a mask. The block will not be consumed. To prevent further changing of the teleporter's masks, simply open up the teleporter's GUI and click the 'Lock Mask' button (indicated with a padlock). This is a toggle button and the current state is indicated by the icon on the button. Once locked, right clicking the wall teleporter to mask is no longer possible, until the button is clicked once more.
When linking the GPS Chip, the player's current rotation is saved to the chip. By default, the wall teleporter will teleport the player to the same rotation as when the chip was created. If this is not desired, the button closest the bottom in the wall teleporter GUI will allow you to disable/enable this.
Wall teleporter blocks can be interacted with by computers and turtles from ComputerCraft.
Wrap the peripheral as normal:
wt = peripheral.wrap("right")| Method | Description | Arguments | Returns |
|---|---|---|---|
getX |
Return the x-coord of the destination | --- | [Number xcoord] |
getY |
Return the y-coord of the destination | --- | [Number ycoord] |
getZ |
Return the z-coord of the destination | --- | [Number zcoord] |
getRotation |
Return the rotation of the player after teleport | --- | [Number rotation] |
getWorldId |
Return the ID of the destination world | --- | [Number worldId] |
getWorldName |
Return the name of the destination world | --- | [String worldName] |
getMask |
Return the id and meta of the current mask | --- | [Number id], [Number meta] |
getFuelLevel |
Return the current fuel level (0-16) | --- | [Number fuel] |
getUseRotation |
Return whether the teleporter should teleport with rotation | --- | [Boolean useRotation] |
setUseRotation |
Set whether the teleporter should teleport with rotation | [Boolean useRotation] | --- |
hasDestination |
Return true if destination set | --- | [Boolean hasDestination] |
isMaskLocked |
Return whether the mask is locked | --- | [Boolean locked] |
setMaskLocked |
Set whether the mask is locked | [Boolean locked] | --- |
setMask |
Set the id and meta of the mask to use | [Number id], [Number meta] | --- |
clear |
Clear the destination | --- | --- |
- Teleporting back from the end (and sometimes other dimensions) may require a re-log before the world will load


Clear Location
Masks
Player Rotation