All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Server Hats

Server Hats

by werdei • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Server-side Fabric mod that allows players equip items as hats.
To equip an allowed item, simply put it in the helmet slot - no commands necessary!
The mod is very customizable, making it easy to tune it to your preference.

Requires Fabric API

Features

By default, mod allows players to equip most items that have special rendering rules in vanilla Minecraft:

  • Banners
  • Fence gates
  • Amethyst clusters and buds
  • Beds
  • Feather
  • End rod
  • Lightning Rod
  • Spyglass
  • Lead
  • Bone
  • Cod
  • Conduit

And some other ones I thought looked cool\funny:

  • Glass blocks (including tinted and stained glass)
  • Azalea bushes
  • Scaffolding
  • Big dripleaf
  • Slime and honey blocks
  • Composter

You can remove/add any items to this list. You can also make it so any item in the game can be used as a hat!

These items can also be equipped to players with a dispenser and can be enchanted with curse enchantments on an anvil (for when you want to test your friendships).

Shift-clicking these items will not equip them - that way players won't accidentally end up with their building blocks on their heads.

You can tweak all of those features using a /hats command, or a configuration file. You can read more here:
https://github.com/WerDei/Server-Hats/wiki

Known issues

  • While in multiplayer, players in creative mode cannot equip allowed items to a helmet slot

Found a bug?

Please consider reporting it on GitHub.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.20.x
Fabric Quilt
last yr. 1
1.19.4
Fabric Quilt
last yr. 1
1.19.3
Fabric Quilt
last yr. 1
1.19.x
Fabric Quilt
last yr. 1
1.19.3
Fabric
last yr. 1
1.19.x
Fabric
last yr. 1
1.19.3
Fabric
last yr. 1
1.19.x
Fabric
last yr. 1
1.19.x
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.18.x 1.17.x
Fabric
last yr. 1
1.18.x 1.17.x
Fabric
last yr. 1
1.18 1.17.x
Fabric
last yr. 1
1.18 1.17.1
Fabric
last yr. 1
1.18 1.17.1
Fabric
last yr. 1
1.17.1
Fabric
last yr. 1
1.17.1
Fabric
last yr. 1
1.17.1
Fabric
last yr. 1
1.17.1
Fabric
last yr. 1
  • Updated to 1.20
  • Updated to 1.19.4
  • Fixed dispenser functionality, again
  • Fixed dispenser functionality, again
  • It's no longer possible to enchant hat items with helmet enchantments like Respiration
  • "enchanting" setting now defaults to *true* again
  • It's no longer possible to enchant hat items with helmet enchantments like Respiration
  • "enchanting" setting now defaults to *true* again
[0.12] Server Hats - 0.12 by werdei on Dec 13, 2022
Download
  • Updated mod to 1.19.3
  • Fixed piglins "juggling" and destroying items
  • Code has been rewritten to *hopefully* cause less bugs in the future
  • Temporarily changed "enchanting" setting to be *false* by default

Known issue: ["enchanting" causes unintentional behaviour with villager trades or when enchanting tools](https://github.com/WerDei/Server-Hats/issues/5)
[0.11] Server Hats - 0.11 by werdei on Jul 18, 2022
Download
  • You can now put allowed hat items into an armor stand hand - to do this, click anywhere below its head
[0.10] Server Hats - 0.10 by werdei on Jun 27, 2022
Download
  • 1.19 support

Known issue: when editing allowedItems with a command, no item/tag suggestions will be shown
[0.9] Server Hats - 0.9 by werdei on Feb 28, 2022
Download
  • 1.18.2 support

[0.8] Server Hats - 0.8 by werdei on Dec 10, 2021
Download
  • Fixed an issue with dispenserEquipping breaking dispenser functionality of an item, if that item is allowed to be used as a hat

[0.7] Server Hats - 0.7 by werdei on Dec 07, 2021
Download
  • Mobs that can pick up items now won't equip allowed items on their heads (configurable with mobsCanEquipHats option)
[0.6] Server Hats - 0.6 by werdei on Dec 05, 2021
Download
  • Configuration options now can be changed in-game using a command: /hats <option> <value>, or just viewed with /hats <option>
  • When "enchanting" is set to true, allowed items can now be enchanted (on an anvil) with helmet-specific enchantments like Respiration
  • Items that already have an equipment slot assigned to them (armor, elytra, etc...) can now be allowed and worn as a hat

[0.5] Server Hats - 0.5 by werdei on Dec 02, 2021
Download
  • You can now reload the configuration file using a command: /hats reload
  • Added more items with special rendering rules to the default allowed list:
  • Lead
  • Bone
  • Beds
  • Cod
  • Conduit
  • Added support for Minecraft 1.18
  • And nothing else! You can skip this version if you're staying on 1.17.1
  • Allowed items will now be equipped on a player when fired from a dispenser (configurable)
  • Allowed items can now be enchanted with curse of binding/vanishing enchantments using an anvil (configurable)
  • Fixed a crash when a client with a mod connects to a server and shift-clicks an item
  • By default, shift-clicking an item now won't put it in the helmet slot
  • Added a config line to allow shift-click equipping
  • Items that are already equipable now cannot be made into hats
  • Added a config option that allows to equip any item in the game
Server Hats Icon
Download Server Hats
Select game version
Select platform