About:
Head Equip lets you put any item on your head with one simple command!
Equipping:
Simply hold the item you wish to equip in your hand and type /trigger head_equip!
If you already have an item equipped, it will simply swap with whatever you are holding when you execute the command.
If the item you currently have equipped is enchanted with Curse of Binding, you won't be able to equip anything else for as long as it's on your head.
Compatibility:
It should work perfectly fine in both singleplayer and multiplayer!
The datapack uses the newly added "macro" feature, so it will only work in 1.20.2 and above.