mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-26 11:17:30 +01:00
a4ef367708
* Add "orphaned" leaves nodes, these are copies of the regular leaves nodes whose sole purpose is to replace leaves nodes when no more tree trunks are present nearby. The orphaned nodes are swapped in by a callback on destruction of tree trunk nodes and will be decayed by a dedicated abm that processes all nodes in `group:leaves_orphan`. * Add `mcl_core.update_leaves()` function, a `after_destruct` callback handler for tree trunk nodes. The function finds leaves nodes nearby destroyed tree trunk nodes and swaps these for orphaned leaves nodes if no other tree trunk nodes remain near them. * Add `after_destruct` callbacks to tree trunk node registrations in mcl_core/nodes_trees.lua and mcl_mangrove/init.lua to update orphaned leaves. * Add entry for group `leaves_orphan` to GROUPS.md * Also add entry for group `leaves` to GROUPS.md (it was missing). |
||
---|---|---|
.. | ||
locale | ||
schematics | ||
sounds | ||
textures | ||
crafting.lua | ||
craftitems.lua | ||
functions.lua | ||
init.lua | ||
mod.conf | ||
nodes_base.lua | ||
nodes_cactuscane.lua | ||
nodes_climb.lua | ||
nodes_glass.lua | ||
nodes_liquid.lua | ||
nodes_misc.lua | ||
nodes_trees.lua | ||
README.txt |
MineClone 2 core mod ==================== Originally forked from Minetest Game's default mod in the distant past. License information =================== License of source code: ----------------------- Copyright (C) 2011-2012 celeron55, Perttu Ahola <celeron55@gmail.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. License of all textures and sounds ---------------------------------- MIT License. The textures are taken from the Minecraft resource pack “Faithful 1.11” by Vattic and xMrVizzy and contributers. Sounds ====== All sounds included in this mod are under the MIT License. The other sounds used in this mod can be found in CORE/mcl_sounds. http://www.gnu.org/licenses/lgpl-2.1.html License of everything not listed here ------------------------------------- celeron55, Perttu Ahola <celeron55@gmail.com> CC BY-SA 3.0 <https://creativecommons.org/licenses/by-sa/3.0/>