diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-12-31 11:24:57 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-12-31 11:24:57 +0000 |
commit | 78db062f8b9eafa262467bece031b0f0536887a2 (patch) | |
tree | dd5f0a8cb1093d1478dd71e42684e1e3c2a9043b /api.txt | |
parent | dd6812afa4b429cc83d20df764037c4fbcee113a (diff) |
api addition, cactus+papyrus growth, coral recipe
Diffstat (limited to 'api.txt')
-rw-r--r-- | api.txt | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -57,13 +57,14 @@ bonemeal:add_deco({"default:dirt_with_dry_grass", {"default:dry_grass_1", ""}, Global ON_USE Function ---------------------- -bonemeal:on_use(pos, strength) +bonemeal:on_use(pos, strength, node) This function can be called from other mods to grow plants using alternative bonemeal items and have the same effect. {pos} is the location to apply growing {strength} is how strong to grow [low of 1 to high of 4] + {node} is the node at pos, but can be left nil to get_node itself Note: Higher strength items require lower light levels, and a strength of 4 needs no light at all. |