mirror of
https://codeberg.org/tenplus1/bonemeal.git
synced 2025-07-21 09:30:23 +02:00
added global on_use function
This commit is contained in:
9
api.txt
9
api.txt
@ -53,6 +53,15 @@ bonemeal:add_deco({"default:dirt_with_dry_grass", {"default:dry_grass_1", "air"}
|
||||
{"flowers:rose", "flowers:viola"} })
|
||||
|
||||
|
||||
Global ON_USE Function
|
||||
----------------------
|
||||
|
||||
bonemeal:on_use(pos)
|
||||
|
||||
This function can be called from other mods to grow plants using alternative
|
||||
bonemeal items and have the same effect.
|
||||
|
||||
|
||||
Final Words
|
||||
===========
|
||||
|
||||
|
Reference in New Issue
Block a user