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- 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
- 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)
- You can now put allowed hat items into an armor stand hand - to do this, click anywhere below its head
- 1.19 support
Known issue: when editing allowedItems with a command, no item/tag suggestions will be shown
- 1.18.2 support
- Fixed an issue with dispenserEquipping breaking dispenser functionality of an item, if that item is allowed to be used as a hat
- Mobs that can pick up items now won't equip allowed items on their heads (configurable with
mobsCanEquipHatsoption)
- Configuration options now can be changed in-game using a command:
/hats <option> <value>, or just viewed with/hats <option> - When
"enchanting"is set totrue, 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
- 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