Difference between revisions of "Groups/Custom groups"
(→Other: leaf decay) |
(→Other: sort groups) |
||
Line 20: | Line 20: | ||
* <code>oddly_breakable_by_hand</code>: Can be added to nodes that shouldn't logically be breakable by the hand but are. Somewhat similar to dig_immediate, but times are more like <code>{[1]=3.50,[2]=2.00,[3]=0.70}</code> and this does not override the speed of a tool if the tool can dig at a faster speed than this suggests for the hand. | * <code>oddly_breakable_by_hand</code>: Can be added to nodes that shouldn't logically be breakable by the hand but are. Somewhat similar to dig_immediate, but times are more like <code>{[1]=3.50,[2]=2.00,[3]=0.70}</code> and this does not override the speed of a tool if the tool can dig at a faster speed than this suggests for the hand. | ||
− | ==== | + | ==== ABMs ==== |
− | + | Groups which are mainly used by ABMs for block interaction: | |
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* <code>tree</code>: node is the trunk of a tree (like “Tree”, “Jungle Tree”, etc.). Prevents blocks in <code>leafdecay</code> group from decaying. | * <code>tree</code>: node is the trunk of a tree (like “Tree”, “Jungle Tree”, etc.). Prevents blocks in <code>leafdecay</code> group from decaying. | ||
* <code>leaves</code>: node represents leaves or needles from a tree. | * <code>leaves</code>: node represents leaves or needles from a tree. | ||
* <code>leafdecay</code>: node decays if no block in the <code>tree</code> group is in a radius of the rating. | * <code>leafdecay</code>: node decays if no block in the <code>tree</code> group is in a radius of the rating. | ||
* <code>leafdecay_drop</code>: if node decays because of <code>leafdecay</code>, it will always drop as an item. | * <code>leafdecay_drop</code>: if node decays because of <code>leafdecay</code>, it will always drop as an item. | ||
+ | * <code>flora</code>: used for small plants. Node will slowly spread when placed on a “soil”-group node but it will turn into a dry shrub when it is placed on desert sand. | ||
+ | |||
+ | ===== Fire ===== | ||
+ | Used by the <code>fire</code> mod: | ||
+ | |||
+ | * <code>flammable</code>: can be set on fire. Higher values mean more flammable. | ||
+ | * <code>puts_out_fire</code>: if in a node with this group is near fire the fire gets extinguished. | ||
+ | * <code>igniter</code>: sets flammable nodes on fire. Rating defines the radius. | ||
+ | |||
+ | ==== Crafting ==== | ||
+ | These groups are ''mostly'' used in crafting recipes: | ||
+ | |||
+ | * <code>sand</code>: node is sand. | ||
+ | * <code>stone</code>: node is stone. | ||
+ | * <code>wood</code>: node is wood. | ||
+ | * <code>wool</code>: node is wool (default rating: <code>1</code>). | ||
+ | |||
+ | ===== Color ===== | ||
+ | * <code>dye</code>: item is a dye. | ||
+ | * <code>basecolor_white</code>, <code>excolor_yellow</code>, <code>unicolor_dark_blue_s50</code>, and the like: Declares the color of an item. For all groups that are defined by the dye mod see the [https://github.com/minetest/minetest_game/blob/master/mods/dye/init.lua init.lua] of it. | ||
+ | |||
+ | '''Note''': The various color groups in the dyes mod can be considered as a standard in the modding community. They are also in widespread use, independently of Minetest Game | ||
+ | |||
+ | ==== Shelves ==== | ||
* <code>vessel</code>: item is a vessel (small liquids container) and can be put in a [http://wiki.minetest.net/Vessels_Shelf vessels shelf]. | * <code>vessel</code>: item is a vessel (small liquids container) and can be put in a [http://wiki.minetest.net/Vessels_Shelf vessels shelf]. | ||
* <code>book</code>: item is a book and can be put in a [http://wiki.minetest.net/Bookshelf bookshelf]. | * <code>book</code>: item is a book and can be put in a [http://wiki.minetest.net/Bookshelf bookshelf]. | ||
− | * <code> | + | |
− | + | ==== Functional ==== | |
− | * <code> | + | * <code>not_in_creative_inventory</code>: the item is not added to the creative inventory. '''Note''': This group is also widespread across other subgames and mods which are unrelated to Minetest Game. |
+ | |||
+ | ==== Informational ==== | ||
+ | Misc. groups where their main purpose seems to group similar things together. They may be used for many different tasks | ||
+ | |||
+ | * <code>sapling</code>: node is a sapling. | ||
* <code>plant</code>: node is a small-sized plant. | * <code>plant</code>: node is a small-sized plant. | ||
− | * <code> | + | * <code>flower</code>: node is a flower. |
− | * <code> | + | * <code>liquid</code>: node is a liquid. Ratings: water=<code>3</code>, lava=<code>2</code>. |
− | * <code> | + | * <code>lava</code>: node is lava. Used by the obsidian ABM |
+ | * <code>water</code>: node is water. Used by the buckets mod and for the obsidian ABM | ||
+ | * <code>hot</code>: node is hot (used by lava, rating <code>3</code>). | ||
+ | * <code>melty</code>: node can be melted (used by steelblock, rating <code>3</code>). | ||
== Mods == | == Mods == |
Revision as of 19:28, 7 August 2016
This page lists the various groups which are mainly used in subgames and mods.
(Note: If not group rating is specified, a rating of 1 is assumed.)
Subgames
Minetest Game
Version: 0.4.12
These are the custom groups used by Minetest Game. Many groups listed here have also been adopted by mods and subgames which are not directly related to Minetest Game, but be careful, the intention may not always be equal!
Digging time groups
The following groups determine digging times. The rating can be between 1 and 3; higher ratings result in slower digging.
crumbly
: dirt, sandcracky
: tough but crackable stuff like stone.snappy
: something that can be cut using fine tools; eg. leaves, small plants, wire, sheets of metalchoppy
: something that can be cut using force; eg. trees, wooden planksfleshy
: Living things like animals and the player. This could imply some blood effects when hitting.explody
: Especially prone to explosionsoddly_breakable_by_hand
: Can be added to nodes that shouldn't logically be breakable by the hand but are. Somewhat similar to dig_immediate, but times are more like{[1]=3.50,[2]=2.00,[3]=0.70}
and this does not override the speed of a tool if the tool can dig at a faster speed than this suggests for the hand.
ABMs
Groups which are mainly used by ABMs for block interaction:
tree
: node is the trunk of a tree (like “Tree”, “Jungle Tree”, etc.). Prevents blocks inleafdecay
group from decaying.leaves
: node represents leaves or needles from a tree.leafdecay
: node decays if no block in thetree
group is in a radius of the rating.leafdecay_drop
: if node decays because ofleafdecay
, it will always drop as an item.flora
: used for small plants. Node will slowly spread when placed on a “soil”-group node but it will turn into a dry shrub when it is placed on desert sand.
Fire
Used by the fire
mod:
flammable
: can be set on fire. Higher values mean more flammable.puts_out_fire
: if in a node with this group is near fire the fire gets extinguished.igniter
: sets flammable nodes on fire. Rating defines the radius.
Crafting
These groups are mostly used in crafting recipes:
sand
: node is sand.stone
: node is stone.wood
: node is wood.wool
: node is wool (default rating:1
).
Color
dye
: item is a dye.basecolor_white
,excolor_yellow
,unicolor_dark_blue_s50
, and the like: Declares the color of an item. For all groups that are defined by the dye mod see the init.lua of it.
Note: The various color groups in the dyes mod can be considered as a standard in the modding community. They are also in widespread use, independently of Minetest Game
Shelves
vessel
: item is a vessel (small liquids container) and can be put in a vessels shelf.book
: item is a book and can be put in a bookshelf.
Functional
not_in_creative_inventory
: the item is not added to the creative inventory. Note: This group is also widespread across other subgames and mods which are unrelated to Minetest Game.
Informational
Misc. groups where their main purpose seems to group similar things together. They may be used for many different tasks
sapling
: node is a sapling.plant
: node is a small-sized plant.flower
: node is a flower.liquid
: node is a liquid. Ratings: water=3
, lava=2
.lava
: node is lava. Used by the obsidian ABMwater
: node is water. Used by the buckets mod and for the obsidian ABMhot
: node is hot (used by lava, rating3
).melty
: node can be melted (used by steelblock, rating3
).
Mods
Pedology
https://forum.minetest.net/viewtopic.php?f=11&t=9429
Version: 3.0
wet
: Node is wet, rating ranges from 1-5 (higher = wetter). If this group is not present, the node is seen as dry.oozing
: Node will slowly transfert its wetness towards neighboring “sucky” nodes. Rating does not matter.sucky
: Node is able to receive wetness from neighboring wet and oozing nodes. Rating does not matter.sun_dry
: Node will dry off over time when exposed to sunlight. Rating must be 1.
This was only a quick overview. Refer to the mod's README.md for a more detailed and up-to-date information.
Realistic Suffocation
https://forum.minetest.net/viewtopic.php?f=9&t=15304
Version: 1.0.0
This mod introduces 2 groups:
disable_suffocation
: This mod won't add suffocation (drowning damage for solid full cube blocks) to nodes in this group (rating: 1)real_suffocation
: This group is added by this mod to all nodes it modified (added drowning damage) (rating: 1)
Slime blocks and liquids
https://forum.minetest.net/viewtopic.php?f=11&t=10423
Version: 1.0.0
This mod introduces one digging group:
slimey
: For blocks made out of slime. Rating ranges from 1-3 (higher = more slimey)
Editing this page
Feel free to add your own subgames and mods. There are some guidelines for editing:
- Do not add groups which are intended to be used only internally by the mod or subgame
- Don't forget to mention the meaning of the group rating. If you omit it, we assume the group rating to be always 1 or it does not matter.
- Specify the mod's / subgame's version number, if possible, so the users can see whether this page is still up to date