Elevators
This modification adds elevator blocks to vanilla Minecraft, similar to those found in the OpenBlocks mod.

How It Works
Create the elevator block by placing 8 wool blocks and an ender pearl in a crafting bench. After placement, standing on a block at the same X/Z coordinates and crouching or jumping will teleport you up or down to the next elevator directly above or below. Important: for proper functioning, ensure there are two air blocks above the elevator.
By default, all elevators connect to each other, but in settings you can activate color mode, allowing you to dye blocks and connect only elevators of the same color.
Using new capabilities in version 1.20, you can camouflage the elevator block by simply right-clicking it with any block in hand.
To remove an elevator, use a regular pickaxe.
For in-game help, use the command /trigger elevator.help.
Installation
Download the ZIP file and place it in the world/datapacks folder. If the world is already running, execute the command reload. This is sufficient to start working.
Be sure to check the settings for personalizing your experience.
Settings
All settings are changed by executing a command in chat:
scoreboard players set <setting> elevator.settings <value>
Range (range)
Default: 384 Limits the maximum distance an elevator can teleport a player. The standard value is the full world height. Setting a value below 3 will make all elevators non-functional.
Same Color (sameColor)
Default: 0
If set to 1, elevators will teleport players only to elevators of the same color. It is recommended to also enable showColor when activating this option. Right-click an elevator with a dye to change its color.
Show Color (showColor)
Default: 0
If set to 1, elevators will display their color using particles. Useful for locating elevator positions.
Required XP (requireXP)
Default: 0 A value greater than 0 requires players to pay that amount of experience points (not levels!) to use an elevator. If there is insufficient experience, the elevator will not work.
Troubleshooting
If some elements have stopped working correctly (crafting, placement, destruction, interaction):
Since many actions are triggered through advancements, executing the command advancement revoke Player from elevator:root should reset the triggers for "Player". This resolves most issues.