MCPets
  • MCPets
    • ๐Ÿ‘‹ Welcome
    • ๐Ÿฆฆ Get pets (+ Free otter)
    • ๐Ÿงช Upcoming features
  • Common issues
    • ๐Ÿ”ด Common issues
      • Requirements
      • My pet is removed on spawn
      • My pet is revoked on spawn
      • My pet looks like floating horse armors or doesn't look right
      • My pet leaves anchor mobs behind on server restart or chunk unloading
      • My pet has purple/black weird textures
      • My pet doesn't have its model applied
      • My pet can't be named
      • My pet can't be mounted
      • Pet experience : my pet is not getting any experience
      • ItemsAdder: I can't see the pet
      • Category : I can't see my pets
      • Texture Pack: merging custom items packs (1.21.3 and prior)
      • Atlases issues: purple/black icons
      • 1.21.4 Resource pack changes
      • Worldguard: making pet spawn in mob denied areas
  • Tutorials
    • โœจ Setup your first pet
    • ๐Ÿ”ฅ Pet features
      • Living Pet
        • Pet Experience
        • Modifiers
        • Taming
        • Pet Food
      • Pet Mount
      • Signal Stick
      • Pet Inventory
      • Skins
    • ๐Ÿ“œ Placeholder API support
    • ๐Ÿฒ MythicMobs add-ons
    • ๐Ÿ“ Config templates
      • Config file
      • Pet config
    • โš™๏ธ Plugin features
      • Commands
      • Permissions
      • Categories
      • Blacklisted Words
      • Custom Icons
      • WorldGuard flags
Powered by GitBook
On this page
  • Mechanics
  • Targeters
  • Placeholders
  • Conditions

Was this helpful?

  1. Tutorials

๐Ÿฒ MythicMobs add-ons

Previous๐Ÿ“œ Placeholder API supportNext๐Ÿ“ Config templates

Last updated 1 year ago

Was this helpful?

MCPets implements a lot of new , , and 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 for basic tutorials on how to use in skills, , and .

Mechanics

Here you will find every mechanics that you can use when MCPets is installed on your server.

Mechanic name
What for
Usage
Requirements

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

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.

Targeter
Usage

@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...

Placeholder
What for
Usage

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.

Condition
What for
Usage

Pet Experience

Test the current experience of the pet

petExperience{exp=#}

Pet Taming

Test the taming progress of the pet

petTaming{taming=#}

Gives a buff to the pet. can be found on the petFood related section.

mechanics
targeters
conditions
placeholders
MythicMobs wiki
mechanics
targeters
conditions
placeholders
Buff types