mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-24 20:03:45 +01:00
3c10f0e970
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. |
||
---|---|---|
.. | ||
locale | ||
sounds | ||
textures | ||
init.lua | ||
LICENSE | ||
mod.conf | ||
portal_end.lua | ||
portal_gateway.lua | ||
portal_nether.lua | ||
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/