Topic category: Help with modding (Java Edition)
I want to have my custom weapons model be different when the player holds it than it is in the gui. The trident in vanilla minecraft is a good example of what i want. In the gui its just flat sprite work, but when held by the player it is given it's own 3d model. I would like to know if anyone knows how to recreate this in the mcreator software with custom weapons.
I have already tried looking at the item json models but I found nothing of use. There were no lines saying if the item is in someone's hand use this model instead. I also tried looking at the trident's .java item file in minecraft's source code but found nothing mentioning either json model, or when to use them.
I know they did it somehow, but i am lost on how i could recreate this. I don't want to resort to having a script that changes out the item whenever it is held to recreate this do to that fact that it could cause multiple problems that i'd rather just not deal with.
If you can help, please do. I would appreciate it.
For weapon set normal texture but 3D entity model make for bullet.
Model must be faced down (sharp side) I recomend BlockBench
Im not trying to make a ranged weapon. Im trying to make it so a weapon looks different when being held by a player than it does if you were looking at it in your inventory.
I want to be able to recreate what the image is showing below.
You can make custom model in BlockBench and in this software, specifiy different render modes
Yeah I have the same problem! I made the model with blockbench and the item texture was normal just the item in hand had the model. But it was too high in first person view so I moved it a little down in blockbench in the display tab. but it automatically sets the model as the texture in inventory slots, chest, etc. I have the same problem now I don't know what to do