Items not working propally afer being equipped

Started by tom nguyen on

Topic category: Help with modding (Java Edition)

Last seen on 09:14, 5. Dec 2021
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Items not working propally afer being equipped

hi! I'm working on this mod and i'm making a hat for it, but whenever a player equips the hat, the number of hats is still the same in the inv but there is an additional hat in the head slot...

it should work like this: player hold hat - right clicks it - hat equips - the number of hats that player got should decrease 1...

Last seen on 16:07, 18. Mar 2024
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi, tom nguyen! When you areā€¦
Thu, 12/09/2021 - 16:54

Hi, tom nguyen!

When you are trying to equip any armor with the right click, not from the inventor itself in creative mode, one copy of this item always remains in the hotbar.

Just try to equip your item while you are in survival mode and I guess it should work!

Hope that helps!