Adds custom hats for players to wear
| item | loot table |
|---|---|
White Chef Hat |
hats:chef_hat |
Eyeshade |
hats:eyeshade |
Billed Cap |
hats:billed_cap |
Bandana |
hats:bandana |
Choker |
hats:choker |
Book Hat |
hats:book_hat |
Bucket Hat |
hats:bucket_hat |
Eyepatch |
hats:eyepatch |
Headband |
hats:headband |
Hunter Hat |
hats:hunter_hat |
Monocle |
hats:monocle |
Straw Hat |
hats:straw_hat |
Welding Mask |
hats:welding_mask |
Leather Cap |
hats:leather_cap |
Witch Hat |
hats:witch_hat |
All hats are craftable and wearable in the head. Many of them are just a player-wearable version of the hats villagers or illagers wear.
The Chef Hat, Eyeshade, Billed Cap and Bandana can be used on Evokers, Piglins, Piglin Brutes, Pillagers, Villagers and Vindicators, (but not Witches or Wandering Traders who already have sizeable head coverings), and they will wear the hats (as long as their head equipment slot is empty).
You can then use a pair of shears (really, Minecraft, why?) to remove them.
Uses an advancement to check if a player uses one of the hats on a mob, then calls a function to determine exactly what hat should be placed on them, if any.
Uses an advancement to check if a player picks up a non-standard hat item, then calls a function that transforms it into a regular hat item.
None.
The Collar was originally made by Emma and is published under Attribution 4.0 International (CC BY 4.0)
The Villager hat models were found in the wild, and there was neither an author name nor a license specified. A more detailed search found nothing. I'm working in either finding the right author and license or rebuilding the assets from scratch.