Started by
Overtek
on
Topic category: Advanced modding
Hello anyone know how to render item on custom entity ? I don't thing it's possible with mcreator or blockbench and I need to go to the code but I don't know how to do that. If anyone can help me it would be nice :)
Yep super simple in code. Are you using a biped entity?
To place items in your entities Equipment Slots use the snipped below in your entity class,
To render it on the entity, though, use the snippet below in the entity render class,
Am I supposed to extend something because the addLayer method isn't recognised?
Does the model have to be biped?
Is this still working?
Custom models can also display items, but doing so requires some coding knowledge. If you have them, here is an example renderer class:
https://github.com/ObscuriaLithium/Aquamirae/blob/1.19.2-Forge-v5.6/src…