




All Hats is a datapack that allows you to use /trigger equipAsHat
to equip the item you are holding in your main hand as a hat. You can only wear one item at a time, regardless of its usual stack size. If your head slot is already occupied the current hat will be returned to your inventory or dropped if your inventory is full. The datapack is designed to be compatible with all versions from 1.17 onward.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.17, 1.17.1, 1.18
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.
Verified by MCModsHub
- Downloads as all_hats-1.17-1.21.4.zip
- Download size: 39 KB
- Download link checked 20 Aug 2026 — working
These come from our own check of the pack file, not from the source page.