Port of the elevator from OpenBlocks to Minecraft 1.8+
Forge / NeoForge
- None
Fabric
- Fabric API - Mandatory
- Forge Config API Port - Embedded
The default recipe is the same as in OpenBlocks.
Example of the white elevator recipe:
You can also re-dye any elevator:
To use them, place two or more elevators in the same X and Z coordinates, to move between them simply jump to go to the elevator above or sneak to go to the one below.
Elevators need at least 1 block of air (or non-solid block) above to be considered valid.
You can configure the range of the elevators and if they should require XP to teleport in the configuration file.
You can access the options interface by right-clicking on the elevator with an empty hand.
When the Directional
checkbox is enabled, the elevator will adjust the yaw rotation of players who teleport to it
based on the configured direction.
You can change the direction by clicking on the desired direction button. The display order of the buttons will match the current direction the player is facing.
It will also show an arrow on the elevator to indicate the direction it is facing. You can hide it by selecting
the Hide arrow
checkbox.
This has nothing to do with horizontal movement, it only changes the direction the player is facing.
You can use any solid block to camouflage the elevator, just right-click on the elevator with the desired block on your hand.
Most blocks can be used as camouflage with some exceptions. For example, you can't use a chest because it uses a different rendering method.
Note for Fabric users: If you are using Sodium, you need to install Lithium to make the camouflage work1.
The configuration file is per-world and is located at <world-directory>/serverconfig/elevatorid-server.toml
.
Note for Fabric users: By default it is located at .minecraft/config/elevatorid-server.toml
but per-world
overrides are possible,
see FCAP Wiki
Here are the default values:
[General]
#Should elevators have the same color in order to teleport ?
sameColor = false
#Elevator range
#Range: 3 ~ 4064
range = 384
#Realign players to the center of elevator ?
precisionTarget = true
#Can mobs spawn on elevators ?
mobSpawn = false
#Reset pitch to 0 when teleporting to normal elevators ?
resetPitchNormal = false
#Reset pitch to 0 when teleporting to directional elevators ?
resetPitchDirectional = true
#Should teleporting require XP ?
useXP = false
#Amount of XP points to use when useXP is enabled
#Note this is NOT experience levels
#Range: > 1
XPPointsAmount = 1
- OpenBlocks Team
- All contributors on GitHub
Feel free to use this in any modpack.
Footnotes
-
Since Sodium
0.6.0-beta.1
FRAPI is supported out of the box, so it should work without Lithium. ↩