跳到正文

Pet Passive Health Regeneration

作者:ItsRevolt

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

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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);
}

常见问题

Pet Passive Health Regeneration 支持哪些 Minecraft 版本?

Pet Passive Health Regeneration 支持 Minecraft Java 版 1.21.1–1.21.10,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Pet Passive Health Regeneration 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

ItsRevolt 的其他作品

查看全部 →