(updated and likely unstable beta version on github)
Rolling Health
A rework of the HUD and Health system, making it more in-line with the one from Earthbound.
🤔 what does it do?
The first thing you will notice is that the hud has been replaced, and now looks a lot different:
what used to be your hunger, health and air has now been squished into a neat RPG-style container. Thanks to the addition of the rolling health, an indicator has also been added to show what your health will decrease to.
📕 the rolling health mechanic
The concept is quite simple.
- If you take damage, your health "slowly" decreases towards what it would be after you got damaged.
- this allows for much more interesting and complicated combat, while being simple to understand.
Config options
quite a few things can be changed to help tailor the mod's experience, such as:
- The health loss rate
- whether or not to display the custom HUD.
💻 info for programmers
Want to learn how this mod works? if you have an issue, please feel free to file one on the repository.
How to Install Rolling Health (Mod)
Rolling Health by AnOpenSauceDev is verified for Fabric, Quilt across Minecraft versions 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1 (latest release: 1.8, file size: 22 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1) and platform (Fabric, Quilt).
- Make sure you have the compatible loader or environment installed for Fabric, Quilt.
- Move the downloaded Rolling Health file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Versionupdated to
1.20.x. <br>changed package names. <br>
- WARNING: THIS ONLY WORKS FOR 1.19.4, I MESSED UP**
I decided to take a crack again at Rolling Health/Odometer, and ended up fixing a few problems that bugged me from the beginning
- cleaned up code
- added a config, which allows you to control the HUD and decay rate
- brought up to 1.19.4
- fixed a few bugs
- made Rolling Health work **way better** with other mods, thanks to more sane mixins.
- and more that i might have forgotten about.
- This is the first update of 2023!** This brings a semi-important feature, anti-combat-logging. Beforehand, players could quit the game and avoid death after AFK'ing for a few hours. This essentially damages the player as soon as they quit, somewhat nerfing the quit option.
At some point i did try to integrate this with [dataHandlingLib](https://github.com/AnOpenSauceDev/DataHandlerMod), but decided against it. In the future, i could implement it so players can have a more devastating punishment for quitting.
nothing crazy this release, just changing the XP display to be slightly more competent compared to the old HUD
unless there is some crazy bug or 1.19.4 releases, this _probably_ be the last update of 2022!
## notice for servers
this change is _purely client side_, so it _shouldn't_ be necessary to do an update
this is a minor update, that mainly does more code cleanup, as well as fixing a few small issues.
alongside this update, I have tested multiplayer a bit more and it seems to be flawless!
This is the 1.5th release of this mod, further improving the mod's performance, code quality and more!
I tested this version a bit more thoroughly, so I hope that it actually works this time.
## note - while this release should be very stable, I won't mark it as a full release until I can test out multiplayer.
# Fixes List
### ✔ major code refactor
### ✔ split server and client code, making code more readable and performant
### ✔ fix a plethora of bugs and crashes on the client side
### ✔ move most of the health handling to the server, preventing inconsistencies.
### ✔ made the client sync with the server instead of doing recalculations, offering a big performance lift.
### ✔ made mixins more stable, causing less crashes.
this should fix a multitude of bugs.