MineClone2/mods/CORE/_mcl_autogroup
Elias Åström fb6f5eae7a Rewrite mcl_autogroup
These changes are primarly made to make mcl_autogroup more efficient.
Previously enchanted tools required storing around 21 kB of metadata due
to the way the previous version of the mod was implemented.  This caused
a lot of lag and a huge amount of network traffic.  With the changes
enchanted tools won't require more than 1 kB of metadata.

The mod is also rewritten to use an API to register digging groups and
compute the groupcaps for tools.  This will make it easier for modders
to register custom digging groups.

The mod is now split up into two parts.  One part called "mcl_autogroup"
to implement the API for registering custom digging groups, and the
other part called "_mcl_autogroup" which contains most of the code which
has to be loaded after most mods.
2021-03-18 11:32:18 +01:00
..
depends.txt Rewrite mcl_autogroup 2021-03-18 11:32:18 +01:00
description.txt Rename mcl_autogroup to _mcl_autogroup 2018-05-08 16:43:25 +02:00
init.lua Rewrite mcl_autogroup 2021-03-18 11:32:18 +01:00
mod.conf Rename mcl_autogroup to _mcl_autogroup 2018-05-08 16:43:25 +02:00
README.txt Rename mcl_autogroup to _mcl_autogroup 2018-05-08 16:43:25 +02:00

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.