Pet Bats
Video review:
Glistering Bat (v1.1.0) showcase:
Showcase by MinecraftUniverse:
Review in Spanish:
Features and Mechanics of Pet Bats
Your pet will always follow the owner and stay close if not engaged in combat. When the owner is absent (such as leaving the server), the pet bat remains at its last location.
The pet bat tries to find a hanging spot but does not leave its current area. It can be startled from its hanging position by other players, attacks, block breaking, or dropped pumpkin pie.
If the pet gets stuck and the owner moves far away, the bat teleports directly into the owner's inventory. It's important to note that these creatures are vulnerable to fire, lava and not particularly resistant to explosions.
Leveling and Development
Your pet gains experience by dealing damage to enemies - finishing kills is not required. Leveling up increases maximum health and damage.
When the pet bat reaches level 3, it gains the ability to restore 33% health with each attack. At maximum level, enchantment visual effects appear.
Survival and Care
After "death" the pet returns as an item to the owner's inventory. To allow it to fly again, you need to feed it. Important: if the owner is not on the server when the pet dies, the bat is permanently lost.
A wounded bat can be healed by crafting it with pumpkin pie or by dropping a pie for feeding. Any player can feed pet bats by simply dropping pie near them. Note - only freshly dropped pie counts.
Useful feature: when held in hand, the bat grants night vision effect, regardless of its current health.
And yes, you can demonstrate your cruelty, malice and desire to dominate all life using an anvil and pumpkin pie - although beyond healing your pet, this doesn't accomplish much else.
All changes are described in the mod file. Source code is also included.