MineClone5/mods/ITEMS/mcl_tools
Elias Åström f8461d5e90 Remove mcl_autogroups.get_groupcaps
Requiring tool definitions to call a function in _mcl_autogroup means
that they need to be loaded after _mcl_autogroup.  This can cause
problems because _mcl_autogroup needs to be loaded after all tool and
node definitions are completed.

Because of this the API is changed so tool definitions instead put the
data used to generate groupcaps in the custom field
_mcl_autogroup_groupcaps.  _mcl_autogroup will then go through all
registered tools and update the groupcaps for every tool where this
field is present.  This means that no mod ever has to depend on
_mcl_autogroup.
2021-03-18 11:33:18 +01:00
..
locale Remove enchantment table 2020-10-23 23:00:54 +02:00
sounds Add shears cut sound 2020-12-06 01:21:02 +01:00
textures Add 3d wielded nodes (not functional until Right_Hand bone is added) 2021-02-24 12:58:30 +01:00
README.md Add shears cut sound 2020-12-06 01:21:02 +01:00
aliases.lua
crafting.lua Fix tool-related crafting recipes 2017-02-27 20:25:56 +01:00
depends.txt Remove mcl_autogroups.get_groupcaps 2021-03-18 11:33:18 +01:00
init.lua Remove mcl_autogroups.get_groupcaps 2021-03-18 11:33:18 +01:00
mod.conf

README.md

This mod adds tools for MineClone 2.

Credits

Other files: See main MineClone 2 README.