Groups

Groups can be used for several things in Minetest. They are mostly used to define the digging times of nodes, but there many other uses.

Define groups
The groups of a node or tool are defined in the definiton table:

The rating can be any integer, but  is equal to. Please refer to  for a full and up-to-date explanation on groups.

Group names
This section lists some groups which are used.

Special groups
These groups are directly used by Minetest to treat group members differently, and they are not tied to any particular mod or game. You can find a full list of special groups in in.

Custom groups
Everyone can freely invent new groups on the fly. In this wiki, we document group names that modders use frequently.


 * Groups/Shared groups: Custom groups with a widely-accepted standard meaning
 * Groups/Custom groups: Groups which are somewhat specific to games and mods

Other uses
Mods can use groups for whatever they want. They can be used in crafting recipes, ABM definitions and more functions like this:  (e.g.  ).

To use them in the mod code the function  is useful.