Jump to content

How do you make custom mobs with custom models hold and item?


Faffreux

Recommended Posts

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

Link to comment
Share on other sites

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/

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.