Accessories
Accessories are a special type of cosmetic that attaches a ModelEngine model to the player.
Accessories require ModelEngine and will not work otherwise
Configuration
Backs go in a configuration file located in any pack:
plugins/MythicMobs/packs/cosmetics/accessories/your_file.yml
You can have one or more files in the folder, and a file can have multiple cosmetics in it.
To add an accessory, create or modify a file inside the accessories folder within whatever pack you want and use the following config format:
balloon:
Display: 'Balloon'
Description:
- "A festive party balloon"
Model: balloon
Anchor: BODY
Attached: false
LeashBone: leash
Offset: -1, 1, 1, 0, 0
State: idle
Basic Options
Backs have the following options:
| Option | Description |
|---|---|
ID |
The ID of the cosmetic (in the example: balloon) |
Model |
The ModelEngine model id |
Display |
The display name of the cosmetic in menus |
Description |
The lore of the cosmetic in menus |
Anchor |
The anchor point to use, can be BODY or HEAD |
Attached |
Whether the model is mounted to the player or not |
LeashBone |
If defined, will render a leash to the given bone |
Offset |
An offset of where to attach the model to the player's body, in the format x,y,z,yaw,pitch |
State |
The animation state of the model to use |