Leash Flags / Requirements
Leash Flags are the requirements that a mob needs to meet in order to become a pet.
All Leash Flags can be combined with each other but some only apply to certain mob types, some require other plugins, and some will overwrite others depending on the order they are written in the pet-config.yml.
Impossible
If this is a requirement every other LeashFlags will be ignored and you can't make this mob type a pet.
LowHP
Mob types with this LeashFlag need to be lower than 10% of their max health.
Baby
Mob types with this LeashFlag need to be a baby.
Adult
Mob types with this LeashFlag need to be grown up.
Tamed
Mob types with this LeashFlag need to be tamed.
Can only be applied to animals that can be tamed.
UserCreated
Mob types with this LeashFlag need to be constructed by a player.
Can only be applied to Copper, Iron, and Snow Golems.
Wild
Mob types with this LeashFlag need to be wild.
Can only be applied to Wolves, Ocelots and Iron Golems.
CanBreed
Mob types with this LeashFlag need to be willing to breed.
Can only be applied to animals that can be bred.
Angry
Mob types with this LeashFlag need to be angry.
Can only be applied to wolves.
HeartLinked
Mob types with this LeashFlag must be linked to a Creaking Heart.
Can only be applied to creaking.
World flag
Syntax:
Examples:
Size flag
Can only be applied to slimes and magma cubes.
Syntax options:
minis optional.maxis optional.Exact size syntax:
Examples:
BelowHP
Checks if a mob is below a certain health threshold.
Syntax:
%is optional.Examples:
Chance
With this flag you can add a random factor to the leashing.
Syntax:
<chance>is the chance in percent (%).Examples:
mcMMO
Checks if a player has a skill above a certain level.
Syntax:
If multiple jobs are specified all requirements must be fulfilled.
Examples:
MythicMobs
Checks if a mob is from a specific MythicMob type.
Syntax:
Examples:
Last updated
Was this helpful?
