Started by
tom nguyen
on
Topic category: Help with Minecraft modding (Java Edition)
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...
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!