MineClone2/mods/CORE/_mcl_autogroup
Elias Åström b47733507d Fix tools not taking wear when rightclicking
Added the API function mcl_autogroup.get_wear which is used to get the
tool wear for digging a node of a group.  This is used by mcl_tools to
compute the wear of shovels and shears when rightclicking to create
grass paths and carve pumpkins.
2021-03-18 11:35:29 +01:00
..
depends.txt Rewrite mcl_autogroup 2021-03-18 11:32:18 +01:00
description.txt
init.lua Fix tools not taking wear when rightclicking 2021-03-18 11:35:29 +01:00
mod.conf
README.txt

This mod automatically adds groups to items based on item metadata.

Specifically, this mod has 2 purposes:
1) Automatically adding the group “solid” for blocks considered “solid” in Minecraft.
2) Generating digging time group for all nodes based on node metadata (it's complicated)

See init.lua for more infos.

The leading underscore in the name “_mcl_autogroup” was added to force Minetest to load this mod as late as possible.
As of 0.4.16, Minetest loads mods in reverse alphabetical order.