summaryrefslogtreecommitdiff
path: root/api.txt
diff options
context:
space:
mode:
Diffstat (limited to 'api.txt')
-rw-r--r--api.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/api.txt b/api.txt
index 7e51368..9892887 100644
--- a/api.txt
+++ b/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
===========