Items not working propally afer being equipped

Started by tom nguyen on Thu, 11/18/2021 - 01:15

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:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Items not working propally afer being equipped
Thu, 11/18/2021 - 01:15

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 05:07, 19. Dec 2021
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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!