diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-01-18 15:53:26 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-01-18 15:53:26 +0000 |
commit | ae18b73c4124a60d142dcbfadcbd54b483645ea3 (patch) | |
tree | 4dffc2a5c1ed9ca4402a7fbd69818f9a554da3b8 /api.txt | |
parent | 6a9ca6e20287eab23bbb55a3a15cb488fa0e45fc (diff) |
added mulch and fertiliser items as well as new strength variable
Diffstat (limited to 'api.txt')
-rw-r--r-- | api.txt | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -57,14 +57,17 @@ bonemeal:add_deco({"default:dirt_with_dry_grass", {"default:dry_grass_1", ""}, Global ON_USE Function ---------------------- -bonemeal:on_use(pos) +bonemeal:on_use(pos, strength) 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] + Final Words =========== I hope this guide helps you add your own plants so you can grow them quickly -with bonemeal. Please check the mods.lua for more examples. +with the items included. Please check the mods.lua for more examples. |