1
0
Fork 0
MineClone2/mods
kabou a4ef367708 Add "orphaned" leaves nodes.
* 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).
2022-12-15 22:42:08 +00:00
..
CORE Raids performance optimisation. Check for village less and over less distance. 2022-12-09 22:59:58 +00:00
ENTITIES Merge conflict fixes for release 0.81.1 2022-12-14 21:38:53 +00:00
ENVIRONMENT Merge conflict fixes for release 0.81.1 2022-12-14 21:38:53 +00:00
HELP update 2022-08-22 21:41:55 +00:00
HUD Merge conflict fixes for release 0.81.1 2022-12-14 21:38:53 +00:00
ITEMS Add "orphaned" leaves nodes. 2022-12-15 22:42:08 +00:00
MAPGEN Fix incorrectly sized foundations 2022-12-15 21:52:24 +00:00
MISC Remove mobs_mc_gameconfig 2022-05-27 02:44:39 +02:00
PLAYER Base mcl_skins templates off old PP skins 2022-11-17 21:52:35 +00:00