summaryrefslogtreecommitdiff
path: root/api.txt
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-01-18 10:46:44 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2017-01-18 10:46:44 +0000
commit3b185e00993aeafee7209f9c3025bf173e134be1 (patch)
treeef3ea29e9442a99354318b1e2da734fa1eebd13d /api.txt
parentcfd05614600967dd4bc6a75d0ea1520f97790348 (diff)
added global on_use function
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
===========