ModsFinder

Any Hat

by Ancar

Any Hat lets a player wear any item on the head slot through a datapack and a trigger command, with no separate hat mod needed.

FabricForgeNeoForgeQuiltServer required, client optionalGNU General Public License v3.0 onlyOpen source1.16 – 26.3

What it does

Any Hat is a datapack that adds a hat trigger command, so a player can wear an item from the hand or inventory in the head slot. The datapack is placed in the datapacks folder of a world directory and works with vanilla hats and stylish accessories alike. It runs on the server, so server owners install it once and players join without anything extra. Clients may add it for the same behavior, but it is not required.

The mod targets 1.16 – 26.3 across Fabric, Forge, NeoForge and Quilt, and a data pack build is also published. Snapshot builds have files too. Any Hat is released under the GNU General Public License v3.0 only and is open source; its source code and issue tracker are public. The most recent file is 3.0.5+mod for 26.3, published 2026-09-15.

Key features

  1. Wear any item as a hat

    A trigger command places the held item on the head slot, so items beyond the usual helmets can be worn.

  2. Vanilla hat support

    The datapack works with vanilla hats and transforms accessories into stylish hats without changing their items.

  3. Simple setup

    Copy the datapack into the datapacks folder of the world directory and the command becomes available.

  4. Duplication protection

    The datapack is built to be dupe safe, so worn items cannot be copied through the hat trigger.

Compatibility

Latest build for each game version and loader.

26.x5 of 5 versions with builds
26.33.0.5+mod3.0.5+mod3.0.5+mod3.0.5+mod
26.23.0.5+mod3.0.5+mod3.0.5+mod3.0.5+mod
26.1.23.0.5+mod3.0.5+mod3.0.5+mod3.0.5+mod
26.1.13.0.5+mod3.0.5+mod3.0.5+mod3.0.5+mod
26.13.0.5+mod3.0.5+mod3.0.5+mod3.0.5+mod
1.21.x12 of 12 versions with builds
1.21.113.0.5+mod3.0.5+mod3.0.5+mod3.0.5+mod
1.21.103.0.5+mod3.0.5+mod3.0.5+mod3.0.5+mod
1.21.93.0.5+mod3.0.5+mod3.0.5+mod3.0.5+mod
1.21.83.0.5+mod3.0.5+mod3.0.5+mod3.0.5+mod
1.21.73.0.5+mod3.0.5+mod3.0.5+mod3.0.5+mod
1.21.63.0.5+mod3.0.5+mod3.0.5+mod3.0.5+mod
1.21.53.0.5+mod3.0.5+mod3.0.5+mod3.0.5+mod
1.21.43.0.5+mod3.0.5+mod3.0.5+mod3.0.5+mod
1.21.33.0.5+mod3.0.5+mod3.0.5+mod3.0.5+mod
1.21.23.0.5+mod3.0.5+mod3.0.5+mod3.0.5+mod
1.21.13.0.5+mod3.0.5+mod3.0.5+mod3.0.5+mod
1.213.0.5+mod3.0.5+mod3.0.5+mod3.0.5+mod
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x6 of 6 versions with builds
ReleaseBetaAlphaNot available

This mod also publishes snapshot builds. Snapshots are not shown in the matrix.

How it compares

Full comparison

Hats On is server-side, licensed under the GNU General Public License v3.0 or later, and published for 1.21 – 1.21.5 on four loaders. /hat is a datapack for 1.21 – 26.2 under the MIT License. Useful Hats runs on both client and server across 1.14.4 – 26.3 under the MIT License.

ModLoadersGame versionsEnvironmentUpdated
Any HatFabric, Forge, NeoForge and Quilt1.16 – 26.3Server required, client optional2026-09-15
Hats OnFabric, Forge, NeoForge and Quilt1.21 – 1.21.5Server required, client optional2025-04-05
/hatFabric, Forge, NeoForge and Quilt1.21 – 26.2Server required, client optional2026-06-17
Useful HatsFabric, Forge, NeoForge and Quilt1.14.4 – 26.3Client and server2026-10-02

Questions

Does Any Hat need to be installed on the client?

No. It is required on the server and optional for players.

Which loaders does Any Hat support?

The mod has files for Fabric, Forge, NeoForge and Quilt, plus a data pack build for servers.

Where does the datapack go on a server?

Copy it into the datapacks folder of the world directory, then use the hat trigger command in game.

In the catalog

Any Hat is one of 17,631 Equipment mods on ModsFinder, and one of 8,894 Equipment mods for Fabric. 8,071 mods support Minecraft 26.3.

More from Ancar

All projects

Similar mods

What the author says

Transform your accessories into stylish hats! Hats by Ancar, is a datapack which allows you to wear any item as a hat. It is by far the best hat datapack for the following reasons.
Ancar, on the Modrinth page

Official listing

Owner
Ancar
Published
2024-08-18
Updated on Modrinth
2026-09-15
Facts verified
2026-10-15

Tags