I need help with making an item's gui icon be different than the model in players hand

Started by Deadly_Golem on Sun, 12/13/2020 - 16:43

Topic category: Help with modding (Java Edition)

Last seen on 15:02, 28. May 2022
Joined Apr 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I need help with making an item's gui icon be different than the model in players hand
Sun, 12/13/2020 - 16:43

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.

Last seen on 17:11, 27. Dec 2020
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
For weapon set normal…
Sun, 12/13/2020 - 18:32

For weapon set normal texture but 3D entity model make for bullet.

Model must be faced down (sharp side) I recomend BlockBench

Last seen on 15:02, 28. May 2022
Joined Apr 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Im not trying to make a…
Mon, 12/14/2020 - 02:12

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. Item in hotbar is different than when in hand

You can make custom model in…
Mon, 12/14/2020 - 07:54

You can make custom model in BlockBench and in this software, specifiy different render modes

Last seen on 15:32, 24. May 2022
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Yeah I have the same problem…
Mon, 09/20/2021 - 13:01

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