Health Regeneration Overhaul

Health Regeneration Overhaul

Mod

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

Client and server AdventureFoodGame MechanicsLibrary

2,114 downloads
7 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter versions...

1.3.1

by TheRedBrain on Dec 16, 2024
Download

1.3.1

  • fixed an issue where the regeneration delay after taking damage was not applied correctly

2.4.1

by TheRedBrain on Dec 16, 2024
Download

2.4.1

  • fixed an issue where the regeneration delay after taking damage was not applied correctly

2.4.0

by TheRedBrain on Dec 9, 2024
Download

2.4.0

HUD rendering overhaul The initial idea of splitting a bar into three textures per "layer" to allow for easy change of the bar length, came with the cost of massive FPS drops. With this rewrite the bar size is no longer changeable with a simple config option. Each 'layer' consists of only 1 texture (which can have configurable dimensions). In addition, the texture can be dynamically replaced by another texture (with configurable dimensions) depending on the max value.

  • 'fill_direction' no longer chooses between a horizontal and a vertical 'texture set', it only determines the direction from which the bar is filled. This means that changing between horizontal and vertical resource bars also requires a texture change.
  • added the option to display an icon (with configurable texture id and dimensions). This can be toggled independently of the bar and the number.
  • added "generic.reserved_health" entity attribute
  • "generic.health_regeneration" entity attribute can now be negative
  • changed vanillas "natural regeneration" gamerule to simply add 1 health regeneration.
  • server config can now be edited in game (Thanks to Fzzy Config)
  • generally improved config layout
  • removed dependency on Cloth Config
  • added dependency on Fzzy Config
  • added dependency on Resource Bar API

1.3.0

by TheRedBrain on Dec 9, 2024
Download

1.3.0

HUD rendering overhaul The initial idea of splitting a bar into three textures per "layer" to allow for easy change of the bar length, came with the cost of massive FPS drops. With this rewrite the bar size is no longer changeable with a simple config option. Each 'layer' consists of only 1 texture (which can have configurable dimensions). In addition, the texture can be dynamically replaced by another texture (with configurable dimensions) depending on the max value.

  • 'fill_direction' no longer chooses between a horizontal and a vertical 'texture set', it only determines the direction from which the bar is filled. This means that changing between horizontal and vertical resource bars also requires a texture change.
  • added the option to display an icon (with configurable texture id and dimensions). This can be toggled independently of the bar and the number.
  • added "generic.reserved_health" entity attribute
  • "generic.health_regeneration" entity attribute can now be negative
  • changed vanillas "natural regeneration" gamerule to simply add 1 health regeneration.
  • server config can now be edited in game (Thanks to Fzzy Config)
  • generally improved config layout
  • removed dependency on Cloth Config
  • added dependency on Fzzy Config
  • added dependency on Resource Bar API

2.3.0

by TheRedBrain on Sep 8, 2024
Download

2.3.0

  • further improvements to health bar customization

2.2.0

by TheRedBrain on Sep 2, 2024
Download

2.2.0

  • update to 1.21.1
  • improved health bar customization
  • fixed an issue where entities would rarely be immortal

1.2.1

by TheRedBrain on Aug 22, 2024
Download

1.2.1

  • fixed an issue where entities would rarely be immortal

2.1.0

by TheRedBrain on Jul 25, 2024
Download

2.1.0

  • added optional smooth health bar animations
  • added a health regeneration delay after health is reduced, controlled by an entity attribute

1.2.0

by TheRedBrain on Jul 25, 2024
Download

1.2.0

  • added optional smooth health bar animations
  • added a health regeneration delay after health is reduced, controlled by an entity attribute

2.0.0

by TheRedBrain on Jun 14, 2024
Download

Update to 1.21

1.1.0

by TheRedBrain on Jun 13, 2024
Download
  • added server config option to re-enable the vanilla food system
  • alternative health bar is now disabled by default
  • fixed compatibility issue with mods that interact with the vanilla food system

1.0.0

by TheRedBrain on May 25, 2024
Download

First release!


Project members

TheRedBrain

Member

Details

Licensed MIT
Published 7 months ago
Updated 13 days ago