๐ฒ MythicMobs add-ons
MCPets implements a lot of new mechanics, targeters, conditions and placeholders to handle better the interactions between pets and players.
Down below you will find a list of these new features. If you need more information on how to implement these, please refer to MythicMobs wiki for basic tutorials on how to use mechanics in skills, targeters, conditions and placeholders.
Mechanics
Here you will find every mechanics that you can use when MCPets is installed on your server.
GivePet
Gives permission to the targeted player to use a certain pet
givePet{id=#}
target must be a player
SetPet
Turns the caster into a certain pet own by the targeted player
setPet{id=#;permCheck=true/false}
target must be a player
SetLivingPet
Turns the caster into a certain living pet with taming progress at 0% by default.
setLivingPet{id=#;followOnTame=true/false;tamingProgress=#}
No target required
PetFollow
Turns on/off the following AI of the pet
petFollow{follow=true/false}
target must be a pet
PetName
Change the name of the pet. Can be saved as well for future use in the player's profile (do not abuse of saves, it's resource consuming).
petName{name="#";save=true/false}
target must be a pet
PetDamage
Damages the target applying or not the damage modifier
petDamage{damage=#;applyStats=true/false}
target must be damageable
PetExperience
Add the given amount of experience to the pet
petExperience{exp=#}
target must be a pet
PetDespawn
Despawns the pet casting the mechanic
petDespawn{}
caster must be a pet
EvolvePet
Make the pet evolve to the said pet. Set "force" to true if you don't want to check the permissions.
evolvePet{evolutionId=#;force=#}
caster must be a pet
DropPetInventory
Drop the pet's inventory content at the pet's location.
dropPetInventory{}
caster must be a pet
DropPetItem
Drop a pet item at the caster's location. Chance is a value between 0 and 1 (ex: 0.1 = 10% chance drop)
dropPetItem{petItem=#;chance=#}
caster must be an entity
PetBuff
Gives a buff to the pet. Buff types can be found on the petFood related section.
petBuff{type=#;operator=#;power=#;duration=#}
target must be a pet.
Targeters
Here is a table referencing the targeters and their usage.
You can use these targeters in MythicMobs in your skills.
@PetOwner
target the pet's owner (caster must be a pet)
@PetFromOwner
target the pet of the caster (caster must be a player)
Placeholders
Here is a table referencing the placeholders you can use with MCPets for your calculations in skill, displays, etc...
Pet Id
Get the pet id
<pet.id>
Pet Owner UUID
Get the UUID of the owner
<pet.owner.uuid>
Pet Owner Name
Get the name of the owner
<pet.owner.name>
Pet health
Get the health of the pet
<pet.hp>
Pet Power
Get the pet's power
<pet.power>
Pet Damage Modifier
Get the pet's damage modifier
<pet.damagemodifier>
Pet Resistance Modifier
Get's the pet's resistance modifier
<pet.resistancemodifier>
Pet Experience
Get the pet experience
<pet.experience>
Pet Taming Progress
Get the pet taming progress
<pet.tamingprogress>
Pet level name
Get the level name of the pet
<pet.level.name>
Pet level index
Get the level index of the pet
<pet.level.index>
Conditions
You can use conditions from the MCPets integration to MythicMobs to help you tune your skills.
Pet Experience
Test the current experience of the pet
petExperience{exp=#}
Pet Taming
Test the taming progress of the pet
petTaming{taming=#}
Last updated