mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-04 23:03:51 +01:00
2.8 KiB
2.8 KiB
API
This document is a WORK IN PROGRESS. Currently, it only contains some information about the used groups.
Groups
This section explains all the used groups in this subgame.
Groups for interactions
dig_by_water=1
: Blocks with this group will drop when they are near flowing watercultivatable=2
: Block will be turned into Farmland by using a hoe on itcultivatable=1
: Block will be turned into Dirt by using a hoe on itflammable
: Block helps spreading fire and gets destroyed by nearby fire (rating doesn't matter)soil=1
: Saplings and other small plants can grow on itsoil_sapling=2
: Soil for saplings. Intended to be natural soil. All saplings will grow on thissoil_sapling=1
: Artificial soil (such as farmland) for saplings. Some saplings will not grow on thissoil_sugarcane=1
: Sugar canes will grow on this near waterdisable_suffocation=1
: Disables suffocation for full solid cubes (1)
Footnotes
- Normally, all walkable blocks with the default 1×1×1 cube as a collision box (e.g. sand, gravel, stone, but not fences) will damage the players while their head is inside. This is called “suffocation”. Setting this group disables this behaviour
Groups (mostly) used for crafting recipes
sand=1
: Sand (any color)sandstone=1
: (Yellow) sandstone and related nodes (chiseled and the like) (only full blocks)redsandstone=1
: Red sandstone and related nodes (chiseled and the like) (only full blocks)quartz_block=1
: Quartz Block and variants (chiseled, pillar, etc.) (only full blocks)stonebrick=1
: Stone Bricks and related nodes (only full blocks)tree=1
: Oak Wood, Birch Wood, etc. (tree trunks)wood=1
: Oak Wood Planks, Birch Wood Planks, etc. (only full blocks)wood_slab=1
: Slabs made out of a kind of wooden plankswood_stairs=1
: Stairs made out of a kind of wooden plankscoal=1
: Coal of any kind (lumps only, not blocks)wool=1
: Wool (only full blocks)carpet=1:
(Wool) carpet
Declarative groups
These groups are used mostly for informational purposes
water=1
: Waterlava=1
: Lavaliquid
: Block is a liquidliquid=1
: Unspecified typeliquid=2
: Waterliquid=3
: Lava
clock=1
: Clockcompass
: Compass (rating doesn't matter)rail=1
: Railmusic_record
: Music Disc (rating is track ID)boat=1
: Boatminecart=1
: Minecartfood
: Item is a comestible item which can be consumed (healthy or unhealthy)food=2
: Foodfood=3
: Drinkfood=1
: Other/unsure
eatable
: Item can be directly eaten by wielding + left click (on_use=item_eat
). Rating is the satiation gainammo=1
: Item is used as ammo for a weaponammo_bow=1
: Item is used as ammo for bowsweapon_ranged=1
: Item is a ranged weapon