lifesteal-1.2.1-hotfix.jar
Curse Maven Snippet
What's new
Lifesteal Effect 1.2.1 — Pure HUD Indicator Hotfix
Removed
- Removed the Regeneration and Absorption potion effects introduced in 1.2.0.
- Lifesteal no longer applies any status effects, keeping the player's inventory free of unnecessary potion-effect icons.
Added
- Added a custom HUD overlay triggered whenever Lifesteal restores health, providing visual feedback without applying any potion effects.
- Added an animated heart indicator near the top-right corner of the health bar, featuring a natural bounce animation inspired by vanilla health regeneration.
- Added a floating health popup displaying the amount of health restored (e.g. "+1" or "+0.5"), positioned near the health bar.
- Added configurable popup color using RGB integer values (default: "0xFF0000").
- Added configuration options for popup duration, vertical movement, and fade behavior.
- Added an option to display restored health as rounded integers or decimal values.
- Added a toggle to enable or disable the heart-bounce animation, along with configurable animation duration.
- Added an option to display Lifesteal HUD indicators only for the local player (enabled by default).
Technical Improvements
- Introduced a dedicated server-to-client network channel and "LifestealHealPacket" to synchronize Lifesteal healing events with the client.
- Made network handling distribution-safe, ensuring dedicated servers do not load client-only classes.
- Kept all HUD indicators entirely client-side, with no dependency on potion effects or changes to the core Lifesteal healing mechanics.
Compatibility
- Minecraft Java Edition 1.20.1
- Minecraft Forge 47.x
This mod has no additional files

