Posted January 31, 20169 yr Hi, I know things like that got discussed before, but it looks like they never actually make it into Forge. Now i come up with something that might worth thinking about and its compatible with other mods, but somewhat "limited". Back in 1.7.10 we could achieve this with RenderPlayerEvent.Specials, but i think that caused incompability with other mods, and Specials was never supposed to be used for that. The idea of mine is to only be able to rotate the hand if we the item is held. The method would look like this in the Item class: public float rotateArm(ItemStack item, EntityPlayer player) return AMOUNT; ONLY call the method if the player is holding the item!!! In 1.9, the method would only apply to the hand thats holding the item. If item is in left hand only rotate the left arm, if right hand than the right arm. This would make compability with other mods. RenderPlayerAPI is a very instable API, and a lot of people only using it for the arm rotation. Making our own RenderPlayer class for this is just another bad idea. Thanks for reading!
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.