How to make it so that when the right mouse button is clicked, the item held in hand is equipped in the head slot?

Started by ProYeti_Official on

Topic category: Help with modding (Java Edition)

Last seen on 15:20, 25. Jun 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make it so that when the right mouse button is clicked, the item held in hand is equipped in the head slot?

I need help!

I’m making a mod that adds hats, but I would like to do it using an item. I’ve tested several guides that use different procedures, but they don’t work as they should in MCreator 2024.1 for Minecraft version 1.20.1.

Last seen on 14:41, 25. Jun 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh! By the way, you can add…
Mon, 06/17/2024 - 15:20

Oh! By the way, you can add sounds to it too by just doing Play sound block which will make putting on hats sound much better!

Last seen on 15:20, 25. Jun 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
And is it possible to set it…
Tue, 06/18/2024 - 14:21

And is it possible to set it up without right-clicking the mouse, just like helmets?