Hats On

Hats On

A simple datapack which lets you wear any item as a hat.

by
4.8K Downloads
datapackfabricforgeneoforgequiltequipmentgame-mechanicsutility
Rent Server with this Mod

Screenshots

title picture 1

About this Mod

📖 Description

Hats On is a simple datapack which lets you equip any item you are holding as a hat with a simple command. Perfect for when you run out of storage or simply want to wear your bed because it is raining.

🛠️ How to, Instructions & Commands

The datapack usually just needs to be installed. There is nothing else you have to do. It just works out of the box.

To equip an item as a hat simply use the /trigger equip_hat command.

✍️ Feedback, Questions & Suggestions

We're here to help! If you happen to have questions, suggestions or just encountered a bug, then feel free to hop on our discord server to ask for help in our Data Pack Section. Click to join the server

🎮 Explorer's Eden SMP

Join A Realm Recrafted, our Minecraft SMP! Enjoy a world featuring all of our (actively maintained) data packs, as well as some exclusive ones. It’s completely free without any microtransactions. Come build, explore, and craft with us today!

Explorer's Eden

Available Versions

v1.3release
MC 1.21.5fabric, forge, neoforge, quilt
April 5, 2025
v1.3release
MC 1.21.5datapack
April 5, 2025
v1.2release
MC 1.21.4fabric, forge, neoforge, quilt
December 3, 2024
v1.2release
MC 1.21.4datapack
December 3, 2024
v1.1release
MC 1.21.2, 1.21.3fabric, forge, neoforge, quilt
November 19, 2024

How to Install Hats On on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set datapack Loader

In the panel under "Egg", select the datapack loader and matching Minecraft version (1.21.5).

3

Install Mod

Open the mod browser in the dashboard and search for "Hats On". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

datapackfabricforgeneoforgequilt

Minecraft Versions

1.21.5, 1.21.4, 1.21.3 (+4 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Hats On server crashes on startup – what to do?

Most common cause: wrong datapack version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.5). You can switch loaders with one click in the panel.

Is Hats On compatible with datapack and fabric and forge and neoforge and quilt?

Hats On officially supports datapack, fabric, forge, neoforge, quilt for Minecraft 1.21.5, 1.21.4, 1.21.3. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Hats On – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Hats On consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Hats On with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU General Public License v3.0 or later
Server-side
Required

Supported Versions

1.21.51.21.41.21.31.21.21.211.21-pre31.21-pre2