forked from VoxeLibre/VoxeLibre
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). |
||
---|---|---|
.. | ||
REDSTONE | ||
mcl_amethyst | ||
mcl_anvils | ||
mcl_armor | ||
mcl_armor_stand | ||
mcl_banners | ||
mcl_barrels | ||
mcl_beacons | ||
mcl_beds | ||
mcl_beehives | ||
mcl_bells | ||
mcl_blackstone | ||
mcl_blast_furnace | ||
mcl_books | ||
mcl_bows | ||
mcl_brewing | ||
mcl_buckets | ||
mcl_cake | ||
mcl_campfires | ||
mcl_cartography_table | ||
mcl_cauldrons | ||
mcl_chests | ||
mcl_clock | ||
mcl_cocoas | ||
mcl_colorblocks | ||
mcl_compass | ||
mcl_composters | ||
mcl_copper | ||
mcl_core | ||
mcl_crafting_table | ||
mcl_crimson | ||
mcl_deepslate | ||
mcl_doors | ||
mcl_dye | ||
mcl_enchanting | ||
mcl_end | ||
mcl_farming | ||
mcl_fences | ||
mcl_fire | ||
mcl_fireworks | ||
mcl_fishing | ||
mcl_fletching_table | ||
mcl_flowerpots | ||
mcl_flowers | ||
mcl_furnaces | ||
mcl_grindstone | ||
mcl_hamburger | ||
mcl_heads | ||
mcl_honey | ||
mcl_hoppers | ||
mcl_itemframes | ||
mcl_jukebox | ||
mcl_lanterns | ||
mcl_lightning_rods | ||
mcl_loom | ||
mcl_mangrove | ||
mcl_maps | ||
mcl_mobitems | ||
mcl_mobspawners | ||
mcl_monster_eggs | ||
mcl_mud | ||
mcl_mushrooms | ||
mcl_nether | ||
mcl_ocean | ||
mcl_portals | ||
mcl_potions | ||
mcl_raw_ores | ||
mcl_sculk | ||
mcl_shields | ||
mcl_signs | ||
mcl_smithing_table | ||
mcl_smoker | ||
mcl_sponges | ||
mcl_spyglass | ||
mcl_stairs | ||
mcl_stonecutter | ||
mcl_sus_stew | ||
mcl_throwing | ||
mcl_tnt | ||
mcl_tools | ||
mcl_torches | ||
mcl_totems | ||
mcl_walls | ||
mcl_wool | ||
mclx_core | ||
mclx_fences | ||
mclx_stairs | ||
screwdriver | ||
xpanes | ||
modpack.conf |