1
0
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:
TenPlus1
2017-01-18 10:46:44 +00:00
parent cfd0561460
commit 3b185e0099
3 changed files with 41 additions and 23 deletions

View File

@ -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
===========