mirror of
https://github.com/HybridDog/nether-pack.git
synced 2025-04-07 21:10:20 +02:00
* The obsidian portal is the first way for a player to reach the nether, so if damage is enabled and `nether.trap_players` is disabled, the obsidian portal should teleport the player instead of killing him/her since after death he/she respawns in the overworld and not in the nether. A small change in `obsi_teleport_player` fixes this problem. Fixes #16. * There exist other mods which need to check if players are in the nether and teleport them to/from the nether, so we add four helper functions: `nether.is_player_in_nether`, `nether.is_player_trapped_in_nether`. `nether.external_nether_teleport` and `nether.registry_update`. Fixes #14. * Add the `in_hell`, `trapped_in_hell` and `update_hells_registry` chat commands, which can be used for debugging * `players_in_nether` has no meaningful effect if `nether.trap_players` is disabled, so we rename it to `players_trapped_in_nether`. * Add `nether.bottom`, which approximately corresponds to the lower end of the nether