Custom mob holding an item?

Started by mshrum on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom mob holding an item?
Fri, 11/01/2024 - 11:19 (edited)

Hello. I have recently been wanting to make a variant of the Illager called a Poacher, with its own structure in the forest yada yada. However, the original plan was for the Poacher to carry a crossbow in the main hand and firework rockets in the off hand.

I have been looking for a while, trying to find a solution that actually is a solution, not just adding it to the model, and a solution that isn't from 7 years ago. I am aware it will most likely take custom code, but I just need to know what that code is. I have looked on a lot of forums where people just say "custom code" and don't specify.

Please help. I'll give all the info you need about the mob.

Edited by mshrum on Fri, 11/01/2024 - 11:19
Joined May 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I tried this part recently…
Tue, 11/12/2024 - 03:46

I tried this part recently too but it didn't work...

I've tried putting code on renderer's side, I've tried putting code on models, I've tried putting code on entities, but to no avail...