GPet ⭐ Modern & Advanced Pet Plugin - [1.20 - 1.21.5] ✨ icon

GPet ⭐ Modern & Advanced Pet Plugin - [1.20 - 1.21.5] ✨ -----

✨ Get yourself some cute little pets! ✨



Wiki:

If you are looking for general changes, go to the config.yml file to change this settings!

How to modify pet files:
  • Navigate to the "GPet/pets" folder
  • If you want to modify a single pet look for the pet file in this folder
  • If you want to modify a pet group look at the "GPet/pets/type" folder

How does the extend property work?

You can define the "extend" property in the top of the file with a list of other files which should be included into the current file. At the end all pets and types include the "default" type.

All properties from the extended file will be included before the data of the current file, so you can override all properties of the extended file.

Example:

Let's take a look at a example, I'll use the "cow" pet file here.
If you open the file you see this:

Code (YAML):
Pet:
  extend
:
   - "type/ageable"
  sound
: "entity.cow.ambient"
  item
: "cow_spawn_egg"
This "cow" pet file extends the "ageable" type file. Now open the "ageable" type file and take a look at it:

Code (YAML):
Pet:
  extend
:
   - "type/default"
  data
:
    ...
As you can see there is another "extend" property here which is the "default" type file. You should also open this "default" type file:

Code (YAML):
Pet:
  enabled
: true
  canRide
: true
  canHat
: true
  canFlip
: true
  flyMode
: "none"
  jumpHeight
: 0.5
  walkSpeed
: 0.6
  rideSpeed
: 0.2
  maxUpStep
: 1.0
  collides
: true
  gui
: true
  defaultName
: "&6&l%Player%'s&a&l %PetType% Pet"
  guiName
: "&6%PetType%"
  data
:
    ...
Here you can see all base properties like the walkSpeed, defaultName or if the pet should be included in the gui.
If you modify a property in the "default" type file all pets will get effected by this, because all pet files include the "default" type file.
If you only want to modify the "walkSpeed" property for the cow you can copy the property-name over to the cow file and insert it to modify it:

Code (YAML):
Pet:
  extend
:
   - "type/ageable"
  sound
: "entity.cow.ambient"
  item
: "cow_spawn_egg"
  walkSpeed
: 0.8
Now only the cow will have a "walkSpeed" of 0.8 while all other pets will keep the 0.6 "walkSpeed" property from the "default" type file.

For player head items you can use the "itemHeadProfile" property to modify the player profile of the head.

You can also use custom model data for items with the "itemModelData" property.


Add custom pets:

GPet allows you to add custom pets, allowing you to create pets for e.g. special events!

To start with custom pets take a look at the "pets/custom" folder.
All files in this folder are loaded in addition to all normal pets, as custom pets.

Custom pet files have the same format as normal pet files with one with extension: The "type" option, which specifies which of the normal pets should be the base for the custom pet.

Now you can add any data you want to the file (including the supported data options of the pet you specified in the "type" option).
With it you can just define names or other options different from the normal pet to make it special!

Example "DemoCustom" pet:
Code (YAML):
Pet:
  type
: "pig"
  enabled
: true
  extend
:
   - "type/default"
  sound
: "item.lodestone_compass.lock"
  item
: "spawner"
To create a new custom pet just copy a pet file and name it the way you like.
Change all the settings in the file and reload the GPet plugin.


Add ModelEngine pets:

GPet allows you to add pets from the ModelEngine plugin, allowing you to reuse this pets with GPet!

To start with ModelEngine pets take a look at the "pets/modelengine" folder.
All files in this folder are loaded in addition to all normal pets, as ModelEngine pets.

ModelEngine pet files have the same format as normal pet files with two with extensions: The "type" option, which specifies which of the normal pets should be the base for the ModelEngine pet & the "model" option, which specifies which ModelEngine model should be used for this pet.

Now you can edit any data you want in the file.

Example "DemoModel" pet:
Code (YAML):
Pet:
  model
: "model_name"
  type
: "chicken"
  enabled
: true
  sound
: "item.lodestone_compass.lock"
  item
: "ender_eye"
To create a new ModelEngine pet just copy a pet file and name it the way you like.
Change all the settings in the file and reload the GPet plugin.
Resource Information
Author:
----------
Total Downloads: 307
First Release: Sep 4, 2022
Last Update: Apr 12, 2025
Category: ---------------
All-Time Rating:
11 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings