Posted May 13, 20169 yr Hi, I've got a pretty complex problem(I guess). I need that the player swing his left arm when right clicking, well that's easy by using the "swingHand(EnumHand)" But, the more problematic thing is that I want to be able to swing both arms at the same time, and it is no possible with the vanilla code because there is only 1 variable for the swing animation so only the last hand will have the animation. My guess is that I have to make a separate variable for the left hand animation and modify the "renderItemInFirstPerson" method in the ItemRenderer.class. So how could I do so that the game use my own "renderItemInFirstPerson" method instead of the vanilla one? edit: I don't care about the swing animation in 3rd person, I just want the 1st person player to see the animation
May 13, 20169 yr Author Because it contains the code that render the first-person right and left arm with along with their animation logic
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.