From 3b185e00993aeafee7209f9c3025bf173e134be1 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Wed, 18 Jan 2017 10:46:44 +0000 Subject: added global on_use function --- api.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'api.txt') 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 =========== -- cgit v1.2.3