Health Regeneration Overhaul 图标

Health Regeneration Overhaul

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 4.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/health-regeneration-overhaul
资源信息

Minecraft 版本: 26.1 26.1.1 26.1.2

平台: fabric

标签: adventure food library

资源介绍

Health Regeneration Overhaul

This API changes the way health is regenerated. Instead of depending on the hunger system, entity attributes are
used.

The vanilla hunger system including exhaustion and saturation is disabled by default.

Additionally, an entity attribute called _healthregenerationoverhaul:reservedhealth is added and a vanilla bug that clamps player health to a maximum of 20 when respawning/joining a world has been fixed.

Default implementation

Health is regenerated by _healthregenerationoverhaul:healthregeneration every _healthregenerationoverhaul:health_tickthreshold ticks.

When health is reduced, regeneration is stopped for _healthregenerationoverhaul:health_regeneration_delaythreshold ticks.

_healthregenerationoverhaul:reservedhealth describes the percentage amount of maximum health that is currently not available.

Default attribute values

  • _healthregenerationoverhaul:healthregeneration: 0
  • _healthregenerationoverhaul:health_tickthreshold: 100
  • _healthregenerationoverhaul:health_regeneration_delaythreshold: 100
  • _healthregenerationoverhaul:reservedhealth: 0

Customization

When the vanilla game rule "natural_health_regeneration" is true, players have 1 additional health regeneration.

In the client config an alternative health bar can be enabled and customised.

The server config has options to set the default value for each attribute (including max_health). This only affects the attribute values for players, not other entities.

Also in the server config, the vanilla food system can be re-enabled.

API

Casting a "LivingEntity" to the "HealthRegeneratingEntity" interface gives access to all relevant methods.

📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
VillagersPlus - Supplementaries Compatability

价格:0 墨喵币
下载量:0

查看详情
Cobblemon: Extra Paradox Mons

价格:0 墨喵币
下载量:0

查看详情
Whimscape Variated Villagers x Fresh Animations

价格:0 墨喵币
下载量:0

查看详情
Archipelago

价格:0 墨喵币
下载量:0

查看详情