Create a Pet
Last updated
Last updated
Your Pets must be configured in pets.yml file. And enabled via config. A Pet must have an id, a displayname, a description and at least one skin This is an example of a valid base Pet:
Pets can also have other attributes, which are the following: y, to configure pet relative y location from player's location, default is 1.
yaw, to configure the relative rotation of the pet armorstand, added to player's yaw and yawCalibration, default is 0.
abilities, a list of String defined abilities, see for reference.
animation, decide the type of animation the pet should have, by default is GLIDE, valid animation types are: GLIDE, BOUNCE, GLITCH, NONE, SLOW_GLIDE, WALK, SIDE, FOLLOW
.
distance, used to calculate the radius of the pet location relative to the player, default is 1.
price, requires to be installed. Allows users to unlock Pets using economy. By default pets are not buyable.
level, allows to setup a level type and value, which allows the Pet to level up based on certain factors. See .
particle, only for 1.9+, allows to set the default Pet particle which can be enabled by levelling or by command. By default it is SNOWBALL Here is a list of valid .
group, since HPET 4.3+, Players can select multiple pets at same time but only one for each group. This allows to group pets by behaviour, notice that this does not have any graphic/aesthetic effect and should not be confused with GUI groups. Default group is "default".
visible, boolean (true|false), defines the default Pet visibility. By default it is true.
balloon, boolean (true|false), attach the pet to the player with a lead, so it looks like you're holding a balloon
balloon_height, allows to adjust the height of lead