mirror of
https://github.com/minetest/minetest_game.git
synced 2025-07-14 20:00:16 +02:00
Move leafdecay doc to game_api.txt
This commit is contained in:
13
game_api.txt
13
game_api.txt
@ -195,3 +195,16 @@ Model Definition
|
||||
-- ...
|
||||
},
|
||||
}
|
||||
|
||||
Leafdecay
|
||||
---------
|
||||
To enable leaf decay for a node, add it to the "leafdecay" group.
|
||||
|
||||
The rating of the group determines how far from a node in the group "tree"
|
||||
the node can be without decaying.
|
||||
|
||||
If param2 of the node is ~= 0, the node will always be preserved. Thus, if
|
||||
the player places a node of that kind, you will want to set param2=1 or so.
|
||||
|
||||
If the node is in the leafdecay_drop group then it will always be dropped as an
|
||||
item.
|
||||
|
Reference in New Issue
Block a user