Groups/Shared groups
From Old MT Dev
Revision as of 11:46, 25 January 2023 by >ROllerozxa
This page contains community-written advice, tips, tricks or recommendations about modding. Your mileage may vary. |
This a list of groups which are shared across multiple mods and games, or groups which have been accepted by the community to have a standard meaning.
not_in_creative_inventory=1
: This item must not appear in the creative inventorynot_in_craft_guide=1
: Crafting recipes which have this item as a result will not be shown in a crafting guide. The item may still be shown as an ingredient.
Colors
For dyes, the color groups used in Minetest Game have been widely accepted. If you add a dye, you should add the appropriate groups. The groups have names like basecolor_white
, excolor_sky_blue
and unicolor_dark_green
.
See game_api.txt, section “Dyes” for a detailed description and see the dye mod for an example implementation.
Object classification
These groups are used to classify something. The rating is assumed to be 1. These groups mean that the item in question is something. E.g. the group “tree=1
” means the item is a tree trunk.
Basic nodes
tree
: Tree trunkleaves
: Leaves, (pine) needles, and the likesand
: Sandsandstone
: Sandstonestone
: Stone or stone-like materialswater
: Water (source or flowing)lava
: Lava (source or flowing)
Additional nodes
wood
: Block of wooden plankswool
: Block of woolsapling
: Saplingflower
: Flower
Items and tools
pickaxe
: Pickaxeshovel
: Shovelaxe
: Axesword
: Swordhoe
: Hoe (farming tool)
Damage groups
fleshy
: De facto considered the “default” damage group for players and mobs when a game has no sophisticated damage system and everything is considered to be in the same “damage class”. Otherwise, intended for living things like animals and the player. This could imply some blood effects when hitting.