Hats
Hats are a type of cosmetic that replaces your helmet. Hats are purely cosmetic and will not override the armor, stats, or abilities of any helmets that are equipped.
Configuration
Hats go in a configuration file located in any pack:
plugins/MythicMobs/packs/cosmetics/hats/your_file.yml
You can have one or more files in the folder, and a file can have multiple cosmetics in it.
To add a hat, create or modify a file inside the hats folder within whatever pack you want and use the following config format:
basic_hat:
Model: item/cosmetics/hats/basic_hat
Display: 'Basic Hat'
Description:
- "Just a basic hat"
Basic Options
Hats have the following options:
| Option | Description |
|---|---|
ID |
The ID of the cosmetic (in the example: basic_hat) |
Model |
The model path to the cosmetic inside your resource pack item definitions |
Display |
The display name of the cosmetic in menus |
Description |
The lore of the cosmetic in menus |
Advanced Options
If you need to get more specific with your cosmetic definition, you can also use the following options:
| Option | Description |
|---|---|
Item |
A Mythic item name to use, or Nexo if prefixed with nexo: |
Material |
Override the material used |
CustomModelData |
A CustomModelData value to use |