Posted September 2, 20178 yr Hello guys, I'mp curious about how to make a mob that doesn't extend from a biped model hold an item? I tried many method however they are all obsolete or only work on biped models (so please don't ask me to go look at EntityZombie.java etc...) and how do you say where to put the item, if it's in left hand or right hand? thanks for replying
September 2, 20178 yr Well I think you should still look at biped model and render classes to understand how the information about the item is generally used. Then you simply have to calculate the equivalent positions in your mob's render class. In other words, in a biped model they know where the arm is (note that it can be swinging a sword and such too, so need to track anything that might make your mob's "hand" move). The rest is just math and depends a lot on how complicated the movement of your model is. Check out my tutorials here: http://jabelarminecraft.blogspot.com/
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.