
Bring your pets along for the journey with Friends For Life!
Never worry about losing a pet again. Once a pet is equipped with a Friendship Collar, and depending on the set behavior mode, it becomes invulnerable and fully protected.
Use the Ocarina to instantly summon your pet to your side, across dimensions, or play it again to send them back home safely.
Pets will wander around their home area instead of sitting in one spot, giving your base a more lively and natural feel!
Have a big pack of animals? The Pet Roster helps you keep track of every companion you’ve bonded with. View them all in one place, manage their settings, change their behavior mode, and stay organized no matter how many pets you have.

How it works
Friends For Life introduces 3 unique items, the Collar, Ocarina, and Roster.
This mod effects the following mobs: Cat, Wolf, Parrot, Horse, Donkey, Mule, Llama, and Trader Llama.
The Collar

The Collar can be put on your tamed pet to make them invincible!
Once your pet is equipped with a collar, they become a Forever Pet, and will no longer take any damage from any source outside of creative/the void. If your Forever Pet does somehow perish, they will always come when you call them!
Sneak+Right-Click while holding the Collar to register a home point to the block you're looking at. When the collar is put on a pet, the pet's home will be set to that location! Whenever you send it home using the Ocarina or the Roster, it will return to that location. It will also wander around the location you set.
Your pet will now be registered in the Roster, and can have an Ocarina bound to it to teleport it to your location.
The Ocarina

The Ocarina is a magical item that allows you to call your Forever Pets. Sneak+Right-Click a Forever Pet with the Ocarina to bind the Ocarina to it. Now, whenever you play the Ocarina, your Forever Pet will be summoned to your side! They will follow you as normal.
You can send your Forever Pet back home, either to the default Home location, set by the Roster, or the position set by their Collar. To do so, Sneak+Right-Click while holding the Ocarina.
Using different Terracotta blocks, you can choose from 17 different color options!
The Roster

The Roster is a book that lists all of your Forever Pets. You can use the roster to view stats, change behavior modes, summon them, or send them home. The Roster includes the location of your pet, as well as its home location. You can open the Roster with a keybind (default: P).
Sneak+Right-Click while holding the Roster on a block will set the default Home location for all your Forever Pets. If your Pets don't have their own unique home, they will be sent here. If the Home location isn't set, they will be sent to your respawn point.
NOTE: If your Home location isn't set and you haven't set your respawn point, your pets will be sent to spawn.
Behavior Modes

In the top right corner of the pet portrait in the Roster, you'll find a button that lets you toggle your pet's behavior. The default setting will be Companion Mode ❤︎, however, clicking it will switch it to Guardian Mode ⛊.
Companion Mode ❤︎ will make your pet 100% invulnerable and 100% peaceful so you can adventure at ease.
Meanwhile Guardian Mode ⛊ will have your pet will behave like vanilla mobs, however, instead of dying when their hearts hit zero, they will teleport back to their Home location and "heal back up" forcing you to wait 60 seconds before summoning them again.
NOTE: The cooldown time limit can be customized using via "petRespawnTimer" in the config.

Compatability
This mod is designed to be compatible with modded pets, specifically tameable animals, but this isn't a guarantee all modded pets will work.
Planned Updates
Nothing for now!

Questions? Comments? Feedback? Join us on Discord!
Support The Good Wizard on Ko-Fi!
Special Credits
Mondonater — Sound design
Kit Aielgeth — Ocarina colors, testing
Shosai — Testing
Mama Native — Testing
V1G1L4NT3 — Testing
Special thanks to Tokimi and CozyStudios
Use your Roster to keep track of all your furry friends!
Place one Book and one Gold Bar anywhere on the crafting grid to make the Roster item.
Place one Leather and one Gold Block anywhere in the crafting grid to craft a Collar item.
Place 3 Terracotta blocks in a line in the middle to craft an Ocarina. There are 18 different colors depending on what color Terracotta blocks you use.