Texasjake95 Posted September 9, 2012 Posted September 9, 2012 How would I make it where my custom sapling would grow using bonemeal? Quote
Toldea Posted September 9, 2012 Posted September 9, 2012 The Block class has a function called onBlockActivated which gets called when you right click on the block. Check if the player is currently holding bonemeal and then just call a function to grow whatever it is you try to grow. Vanilla Minecraft calls growTree in the BlockSapling class for example. Quote
LexManos Posted September 9, 2012 Posted September 9, 2012 Why not look at the damn Bonemeal event? Quote I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
Texasjake95 Posted September 9, 2012 Author Posted September 9, 2012 On 9/9/2012 at 6:24 PM, LexManos said: Why not look at the damn Bonemeal event? didn't see it! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.