Pet Whistle - Summon Pets in Minecraft
The Pet Whistle mod adds a special whistle to the game for managing your tamed animals. With it, you can instantly summon your pets from anywhere in the world!
How the whistle works:
To bind an animal to the whistle, hold Shift and right-click on a tamed creature. After that, a simple right-click anywhere will instantly teleport the bound pet directly to you. To unbind the animal, use the Shift+right-click combination again.
Usage features:
If your pet dies, you can unlock the whistle using a grindstone - simply hold Shift and right-click on the stone with the whistle in hand.
Netherite upgrade:
An improved version of the whistle made from netherite is available, which has important advantages: it doesn't burn in lava and grants the bound pet fire resistance. Your animals will no longer die in scorching lava!
Crafting:
The crafting recipe is simple - only requires one iron ingot and light blue terracotta.
Planned features:
- Holding enchantment (ability to store pets in the whistle, similar to cages)
- Immortality upgrade (bound pet becomes invulnerable)
Important information:
The mod loads the chunk where the bound animal is located, so it's recommended to use it in moderation.
Compatible with modded creatures provided they have the owner tag.
For creatures with multiple hitboxes, binding/unbinding should be performed on the main hitbox.
Code created using MCreator and may not be the most optimized.