diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-01-18 10:46:44 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-01-18 10:46:44 +0000 |
commit | 3b185e00993aeafee7209f9c3025bf173e134be1 (patch) | |
tree | ef3ea29e9442a99354318b1e2da734fa1eebd13d /api.txt | |
parent | cfd05614600967dd4bc6a75d0ea1520f97790348 (diff) |
added global on_use function
Diffstat (limited to 'api.txt')
-rw-r--r-- | api.txt | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 =========== |