Перейти к содержимому
Mineforgian

Pet Passive Health Regeneration

Automatically heal all your tames/pets over time. No need to feed!

Загрузки
2K
Подписчики
4
Обновлён
18 октября 2025 г.
Лицензия
CC-BY-NC-4.0

Опубликован 18 октября 2025 г.

Text that says Pet Passive Regen

Automatically heal all your tames/pets over time. No need to feed!

This mimics the functionality of horses in minecraft.

Details

  • Works just like horses
  • Runs about every 45 seconds to heal 1 heart
  • Supports all tameable entites
  • Supports modded entities that inherit from TameableEntity

Animals

  • Cats
  • Wolfs
  • Axolotls
  • Foxes
  • Ocelots
  • Parrots
  • ± more

Technical

1-in-900 chance every tick (≈20 ticks per second). On average, heals once every 45 seconds.

Rideable tames automatically have regeneration
includes horses, donkeys, mules, skeleton horses and llamas
all these are based on AbstractHorseEntity

if (entity.getEntityWorld().random.nextInt(900) == 0 && entity.deathTime == 0) {
  entity.heal(1.0F);
}

Комментарии

Загружаем…