Void Jump Data Pack
This project was inspired by the Forgiving Void mod for Forge.
Should you accidentally fall into the void, automatically teleport to approximately 500 blocks above the point of falling. Simultaneously, activate super protection with complete resistance to any damage—its effect lasts until safely landing.
Parameter settings:
/function void_jump:config/fall_in_overworld
This command returns the player to the main world when falling into any void—this is how the datapack is configured by default.
/function void_jump:config/fall_in_same_dimension
Use it if you prefer not to switch dimensions during void rescue.