Posted August 23, 201213 yr I know this isn't really a "hook", per se, but could ItemFood.getHealAmount() be passed the metadata/damage of the item? (I suppose this could also be done by passing it the ItemStack arg) This would allow not only for multiple food items to share the same item ID, but also for some sort of nourishment machine... I see an interesting future for my mod. BEWARE OF GOD --- Co-author of Pentachoron Labs' SBFP Tech.
August 23, 201213 yr And you cant do this with onFoodEaten? 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.