1
0
mirror of https://github.com/HybridDog/nether-pack.git synced 2024-12-25 02:00:23 +01:00
Go to file
Deathwing777 1c033a048f
Helper functions for other mods and an obsidian portal bugfix (#15)
* 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
2024-02-29 21:05:03 +01:00
nether Helper functions for other mods and an obsidian portal bugfix (#15) 2024-02-29 21:05:03 +01:00
.gitignore at least a bit history 2015-02-18 18:34:03 +01:00
LICENSE.txt Relicense; WTFPL allows it 2021-12-22 17:45:59 +01:00
modpack.txt 🐈 2016-08-08 15:51:58 +02:00
README.md Update the Readme 2022-08-20 20:19:58 +02:00

For a description of this Minetest mod, please refer to the forum topic: https://forum.minetest.net/viewtopic.php?f=9&t=10265

TODO:

  • Mapgen: Find a way to get the perlin noise values inside [-1; 1] or use another noise. The problem is visible in the nether forest, where the mapgen code flattens the ceiling if it is very high.
  • Mapgen: Generate more detail inside the simple pyramid-like "buildings", e.g. add a small treasure chest node which contains items