This mod requires Fabric API.
This mod adds a custom command (/hat) which allows you to swap the item on your main hand with the item on your helmet slot.

If used in survival, it will not remove gear with the "curse of binding" enchantment.
Can be used on client for single-player worlds, if installed server-side it's not needed in the client.
How to Install Hats (Mod)
Hats by FsmDev is verified for Fabric, Quilt across Minecraft versions 1.21, 1.21.1 (latest release: 1.0.0, file size: 32 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21, 1.21.1) and platform (Fabric, Quilt).
- Make sure you have the compatible loader or environment installed for Fabric, Quilt.
- Move the downloaded Hats file into your Minecraft
.minecraft/modsfolder and launch the game.