Better Pets features

Know where every pet is, keep it safe, and keep it warm.

What counts as a pet

Any animal that has been tamed and has an owner: wolves, cats, parrots, horses, donkeys, mules, llamas, camels, nautiluses, and tamable animals from other mods. Pets show up in your list the first time the server sees them after the mod is installed, so pets you tamed long ago appear as soon as their chunk loads once.

The pet book

Shift-right-click your pet, run /pets menu (optionally with a pet) or /betterpets menu, or click [menu] in /pets. Your pets live in a book: every pet has its own page. The left page shows its name, what kind of animal it is and the pet itself, which watches your cursor while the cursor is near it. The right page has its hearts, what it is doing, where it is, how long it has been with you, stats for horses (speed and jump), its scarf, and the food you carry: click a food to feed it.

The pet book with a frosty blue winter cover, snow on top and icicles below: the left page shows Rex the wolf in a red scarf, the right page his hearts, what he is doing, where he is, his scarf and the food you carry, above Sit, Find, Call, Give and Done buttons.
Rex's page in the pet book, in the Winter cover.

The first page is the contents: every pet with its health. Click one to open its page. Turn pages with the arrows in the corners, the arrow keys or the mouse wheel.

The contents page of the pet book titled My Pets: Rex, Luna, Kiwi and Biscuit, each with a spawn egg icon and its health.
The contents page lists all your pets.

Click the name to rename the pet (colors work, see below). The buttons under the book are Sit or Stand (Gear for horses and other rideable pets, Forget for a dead pet), Find, Call, Give and Done. Give lists the players online; click a name twice to hand the pet over. Sneak-right-clicking your own horse, llama, camel or nautilus opens the pet book instead of its inventory, and the book's Gear button opens the inventory. Turn this off with petMenu.

Covers and settings

The book comes in five covers: Winter (frosty blue with snow on top, icicles, holly and snow falling behind the book), Midnight, Forest, Leather and Classic, the plain book from the game. Until you pick one, the book wears Winter from 15 November to 15 January and Midnight the rest of the year. Your pick is yours alone and is saved on your computer in config/betterpets-client.properties.

The same page of the pet book in five covers: Winter with snow and icicles, Midnight blue, Forest green, Leather brown with gold thread, and Classic.
Winter, Midnight, Forest, Leather and Classic.

The small gear tab on top of the book opens its settings page (/betterpets settings opens the book right there). Pick your cover at the top. Below it are the server's pet rules, the same settings as in the configuration: operators, and the owner of a singleplayer world, change them with a click (hold Shift for bigger steps on numbers); everyone else can read them.

The settings page laid over the pet book: five cover swatches with Winter picked, and the pet rules Better Pets on, Pet book, Owner can't hurt pets, Strong leads, Death alerts and Allow Call, all On, with a Done link.
The settings page: your cover and the pet rules.

Winter

Dogs and cats on snow wearing knitted scarves in red, blue and yellow, next to a red bed with a dog lying at its foot.
Scarves in red, blue, yellow and green.

Pet Scarf

Craft a Pet Scarf from 3 wool and a string (wool, string, wool on the top row, one wool in the middle below). It comes out red; craft it with any dye to change the colour, as often as you like. Hold it and right-click your own grown-up dog or cat to put it on. The scarf sits around the neck with one end hanging down and moves with the pet when it walks, sits or lies down. Right-clicking with another scarf swaps them, and you get the old one back.

Take the scarf off with Take off in the pet book. If the pet dies, the scarf drops where it died. Turn scarves off with scarves.

Pet Santa Hat

Craft a Pet Santa Hat from 2 red and 3 white wool (white in the top right, two red in the middle row, two white below). Hold it and right-click your own grown-up dog or cat, or any of your parrots, to put it on. The hat sits on the head, turns and tilts with it, and stays on when your parrot rides on your shoulder. A pet can wear a hat and a scarf at the same time.

A parrot, a cat and a wolf in a blue scarf, all wearing red Santa hats with white brims and bobbles that flop to the side.
Santa hats on a parrot, a cat and a dog.

Take off in the pet book gives back the hat and the scarf. If the pet dies, the hat drops where it died. Turn hats off with santaHats.

Talking parrots

Tamed parrots listen to chat. When someone says something within 12 blocks of one, it may say the end of it back a moment later, in a speech bubble above its head, with its own parrot sound. Short lines come back whole, long ones as their last few words, and sometimes it repeats the last word twice. Each parrot remembers the last five things it heard and now and then brings one up again while its owner is close by.

Only one parrot answers each message, so a room full of them is not a choir. Everyone nearby sees the bubble, even players without the mod. Turn it off with parrotTalk, or change how often a parrot answers right away with parrotTalkChance (30 percent by default).

Sleeping on your bed

When you go to bed, your free dogs within 24 blocks walk over: the first lies down on the end of your bed, the rest on the floor next to it. They stay there while you sleep and get up with you. Dogs you told to sit stay where they are, and a dog that cannot find a way to the bed comes over after a few seconds anyway. Turn this off with sleepOnBed.

A wolf in a yellow scarf lying down at the foot of a red bed.
Waiting at the foot of the bed.

Snowy coats

Dogs and cats out in falling snow slowly turn white: after a minute and a half outside their coat is full of snow. Bring them in under a roof and they shake it off with a puff of snow, and water washes it off at once. Once the snow stops, it melts away over a minute. Turn this off with snowyCoats.

A black cat in a green scarf and a white wolf, both with snow lying on their backs and heads.
Back from a walk in the snow.

The pet list

/pets (or /pets list) prints one line per pet:

Four pets in front of the player and the /pets list in chat.
Number, name, health, what it is doing, distance and direction, then buttons.

Pets far away

The server only knows about animals in loaded chunks. Better Pets remembers each pet's last known spot, health and state, so the list keeps working when you are thousands of blocks away. Those lines end with when the pet was last seen, e.g. (2 h ago). The list is saved with the world, so it survives restarts.

The /pets list seen 5.8 km away: every pet shows its distance and when it was last seen; the dead parrot has a forget button.
5.8 km from home: last known positions, and a dead parrot waiting to be forgotten.

Finding a pet

/pets find <pet> does two things for 30 seconds:

The action bar reads Rex, an up-right arrow, 23 m; Rex glows on the right side of the screen.
Looking the wrong way: the arrow says ahead and to the right.
Facing Rex: the action bar shows a straight-ahead arrow and 23 m, and the sitting wolf glows in the distance.
Facing him: straight ahead, glowing.

The arrow stops with Found Rex! once you are next to the pet. A pet in an unloaded chunk cannot glow, so the arrow points to where it was last seen instead.

Calling a pet

/pets call <pet> teleports a pet to a safe spot next to you, the same way a following dog catches up. It works when the pet is in a loaded chunk in your dimension; otherwise you are told where it is so you can go and get it. Calling unhooks the pet from a fence post and from a boat. One call per 30 seconds by default.

Naming a pet

/pets name <pet> <new name> renames it on the spot: no name tag, no anvil, no levels. Unnamed pets go by their list number, so /pets name 2 Luna names the second pet. Names can have spaces and up to 50 letters. A named pet never despawns, same as with a name tag. The pet has to be in a loaded chunk.

Colors

Names can be colored, with either of the two formats people already know from server plugins, or a mix of both. Colors do not count towards the 50 letters, and the name shows in color everywhere: above the pet, in /pets, and in every message.

You typeYou get
/pets name Rex &6RexGold. Legacy codes &0–&f, plus &l bold, &o italic, &n underline, &m strikethrough, &k obfuscated, &r reset.
/pets name Rex &#ff55aaRexAny hex color. {#ff55aa} and &x&f&f&5&5&a&a work too.
/pets name Rex <red>RexMiniMessage colors: names like <gold>, hex like <#ff55aa>, and <b>, <i>, <u>, <st>, <obf>, <reset>.
/pets name 2 <gradient:#ffb86b:#ff3c8e>Luna</gradient> &7the catA gradient, then grey text. Gradients take two or more colors.
/pets name Rex <rainbow>RexEvery letter a different color.

Write && for a plain & and \< for a plain <. Unknown codes stay as you typed them. After a rename you still refer to the pet by its plain name: /pets find Luna.

Chat after renaming: Biscuit in bold aqua, Rex in rainbow colors, Luna in an orange-to-pink gradient followed by grey 'the cat'; a too-short name and an unknown pet get red error lines.
A rainbow Rex, a gradient Luna, a bold aqua Biscuit, and what happens with a bad name or an unknown pet.

Giving a pet away

/pets give <pet> <player> makes another online player the owner. It moves to their list, follows them, and obeys them. Both of you get a message. The pet has to be in a loaded chunk.

Safe from you

Your own attacks no longer hurt your own pets: a stray sword sweep in a fight, an arrow that hits the dog in front of you, a trident thrown into the pack. Other players and mobs can still hurt them as normal. If you do want to hit your own pet, sneak while attacking.

Leads that do not snap

In vanilla, a lead breaks when the animal ends up more than 12 blocks away, which happens all the time with a sprint, an elytra glide or a fall. When you hold the lead of your pet, Better Pets pulls the pet to you once it is 8 blocks away instead, so the lead holds. Leads tied to fence posts, and leads on animals that are not your pets, behave like vanilla.

Death alerts

When a pet dies, you get its exact location in chat (click the coordinates to copy them), on top of vanilla's death message. The pet stays in your list, marked ☠ died; hover it for the cause. [forget] removes it.

Chat: Parrot was killed, followed by: Parrot died at -141 67 -46 in the overworld.
Vanilla says what happened; Better Pets says where.

Picking a pet in commands

Every <pet> takes either the pet's name or its number from /pets. Names ignore case and can be shortened to a unique start (bis for Biscuit). Put names with spaces in quotes: /pets find "Sir Barks". Tab completion suggests your pets.

Multiplayer and performance

Install Better Pets on the server and on every client: the Pet Scarf is a new item, so a player without the mod cannot join a server that has it. Each player sees only their own pets. The mod looks at loaded animals once a second and saves the pet list every five minutes and on shutdown, to <world>/data/betterpets.json.