Health Regeneration Overhaul

Quick rating

Community listing page, reviews here may not be monitored by the author.

Health Regeneration Overhaul

No reviews yet

This API changes how health regeneration works and disables the food system.

No Theme
Adventure/Exploration
API/Library
Food & Culinary
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Where It Runs
Client and Server

Must be installed on both the client and the server.

About

Project Details

Type
Mod
License
MIT License
Latest Version
health-regeneration-overhaul-4.0.0.jar

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

About

Description

Health Regeneration Overhaul

This API changes the way health is regenerated. Instead of depending on the hunger system, two new entity attributes are used.
The hunger system including exhaustion and saturation is disabled by default, but it can be re-enabled in the server config.

Default implementation

Health is regenerated by generic.health_regeneration every generic.health_tick_threshold ticks.

When health is reduced, regeneration is stopped for generic.health_regeneration_delay_threshold ticks.

Default attribute values

  • generic.health_regeneration: 0
  • generic.health_tick_threshold: 100
  • generic.health_regeneration_delay_threshold: 100

Customization

When the vanilla gamerule "naturalRegeneration" is true, players have a health regeneration of at least 1.

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

API

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

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:reserved_health 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:health_regeneration every healthregenerationoverhaul:health_tick_threshold ticks.

When health is reduced, regeneration is stopped for healthregenerationoverhaul:health_regeneration_delay_threshold ticks.

healthregenerationoverhaul:reserved_health describes the percentage amount of maximum health that is currently not available.

Default attribute values

  • healthregenerationoverhaul:health_regeneration: 0
  • healthregenerationoverhaul:health_tick_threshold: 100
  • healthregenerationoverhaul:health_regeneration_delay_threshold: 100
  • healthregenerationoverhaul:reserved_health: 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.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~88,000
Total Downloads
CurseForge
~79,000
Modrinth
~8,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works