MineClone2/mods/ITEMS/mcl_portals
Elias Åström 3c10f0e970 Rewrite portal removal to avoid stack overflow
This solves a problem were nether portal removal would trigger deep
recursion through node callbacks.  For large portals this could result
in stack overflow crashes on LuaJIT.  The issue is solved by rewriting
the portal removal to avoid recursion and removing the portal in one
operation using minetest.bulk_set_node.
2022-03-03 01:42:49 +00:00
..
locale
sounds
textures
init.lua
LICENSE
mod.conf
portal_end.lua
portal_gateway.lua
portal_nether.lua Rewrite portal removal to avoid stack overflow 2022-03-03 01:42:49 +00:00
README.md

Portals mod for MineClone 2

How to create portals

Nether portal: Build an upright frame of obsidian, 4 blocks wide and 5 blocks high, and use a flint and steel inside it. End portal: Build an upright frame of red nether brick blocks, 4 blocks wide and 5 blocks high, and use an eye of ender inside it.

Credits

Created by maikerumine and Wuzzy. Code license: MIT License (see LICENSE).

Texture license: See README.md in main MineClone 2 directory.

mcl_portals_teleport.ogg * License: CC BY 3.0 * Authors: FreqMan and Wuzzy * Source: https://freesound.org/people/FreqMan/sounds/32541/

mcl_portals_open_end_portal.ogg * License: CC0 * Author: Johnnie_Holiday * Source: https://freesound.org/people/Johnnie_Holiday/sounds/546571/