mirror of
https://codeberg.org/tenplus1/bonemeal.git
synced 2025-07-23 02:20:21 +02:00
api addition, cactus+papyrus growth, coral recipe
This commit is contained in:
3
api.txt
3
api.txt
@ -57,13 +57,14 @@ bonemeal:add_deco({"default:dirt_with_dry_grass", {"default:dry_grass_1", ""},
|
||||
Global ON_USE Function
|
||||
----------------------
|
||||
|
||||
bonemeal:on_use(pos, strength)
|
||||
bonemeal:on_use(pos, strength, node)
|
||||
|
||||
This function can be called from other mods to grow plants using alternative
|
||||
bonemeal items and have the same effect.
|
||||
|
||||
{pos} is the location to apply growing
|
||||
{strength} is how strong to grow [low of 1 to high of 4]
|
||||
{node} is the node at pos, but can be left nil to get_node itself
|
||||
|
||||
Note: Higher strength items require lower light levels, and a strength of 4
|
||||
needs no light at all.
|
||||
|
Reference in New Issue
Block a user