Pets
Pets are a special type of cosmetic that allows the player to summon a pet that will follow them around. Depending on how you add pets they can provide a gameplay advantage on some types of servers, so keep that in mind when designing them!
Configuration
Pets go in a configuration file located in any pack:
plugins/MythicMobs/packs/cosmetics/pets/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 pet, create or modify a file inside the pets folder within whatever pack you want and use the following config format:
black_cat:
Model: ui/icons/pet_icon
Type: MYTHIC
Pet: black_cat
Display: "Black Cat"
Description:
- "Summon a fluffy black cat companion!"
Basic Options
Mounts have the following options:
| Option | Description |
|---|---|
ID |
The ID of the cosmetic (in the example: gerald_the_giraffe) |
Model |
The path to an icon for the cosmetic inside your resource pack item definitions |
Type |
The type of pet to summon, defaults to MYTHIC (the only option currently) |
Pet |
The name of the mob to summon |
Display |
The display name of the cosmetic in menus |
Description |
The lore of the cosmetic in menus |