Posted November 27, 20168 yr It looks like modifying the item usage duration in LivingEntityUseItemEvent.Start doesn't properly change the resulting animation, e.g. food doesn't show as being eaten during the whole duration, if you're modifying it for built in item types. I tried doing this for food, so that it takes longer to eat when wearing certain armor, but instead, you get no animation for a while, then the animation for the regular usage time. I noticed that AppleCore has a solution at https://github.com/squeek502/AppleCore/blob/0a5a53d501ae5737bd50f7e332a1e5cbb4bb0c08/java/squeek/applecore/asm/module/ModuleFoodEatingSpeed.java. Would it make sense to embed a similar solution into Forge itself?
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.