Code for render an item in the hands of a mob

Started by Art4Dog on

Topic category: Advanced modding

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Code for render an item in the hands of a mob
Thu, 10/22/2020 - 14:35 (edited)

Please tell me the code for rendering the item in the hands of custom mob. I will be very grateful!

Edited by Art4Dog on Thu, 10/22/2020 - 14:35
Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If it is a Biped or Zombie…
Tue, 11/17/2020 - 22:48

If it is a Biped or Zombie model that comes with MCreator, it should be as simple as putting it into the correct slot in Equipment under Behavior in the mob element. If not, you're doing to have to remodel/import the model of the item you want the mob to hold directly into the mob's model's .java file