September 9, 201213 yr 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.
September 9, 201213 yr Why not look at the damn Bonemeal event? I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
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.