Added
- Now exhaustion effects are completely configurable. The default configuration remains the same but you can replace, remove, or add any mob effect from Minecraft or any installed mod.
- Set duration and level for each effect.
- Ability to define other effects as equivalent to Tirelessness, so that they prevent stamina loss.
Changed
- Configuration flags related to enabling effects have been removed.
Fixed
- Fixed logic in updateStamina() so that depletion for sprinting and jumping aren't mutually exclusive.
Added
- Enchantments now have descriptions
Changed
- Players are only considered to be wading if they are moving voluntarily in water. This means that you can recover stamina if you are being passively pushed by water.
- Depth Strider now reduces stamina depletion for swimming in the same way that Traveling reduces it for sprinting.
Fixed
- Holding shift while climbing no longer disables stamina depletion
Changed
- Wading (moving in or underwater but not swimming) now incurs the same stamina cost as swimming.
Added
- Recipes for long potions of Fatigue and Tirelessness
Fixed
- Fixed broken potion recipe registration on 1.21
- Added missing translation strings for Splash Potions, Lingering Potions, and Tipped Arrows
[1.3.1] 2024-07-11
Fixed
- Added missing translation string for Tirelessness effect
[1.3.0] 2024-07-04
Added
- Optional stamina cost for each block broken.
- New "Untiring" enchantment for tools
- Reduces stamina depletion for ticks spent mining and blocks broken.
- Three levels, completely eliminates stamina costs for mining at level III.
- Option to increase stamina costs for mining for each level of Efficiency. (Disabled by default.)
- Optional recovery cooldown after any stamina depletion (Disabled by default.)
- This is in addition to the optional cooldown after exhaustion.
[1.2.3] 2024-07-02
Fixed
- Stamina HUD element now hides when hideGui is toggled with F1. (#17)
[1.2.2] 2024-06-30
Fixed
- Swimming upward (jumping in water) now consumes stamina.
- Cleaned up a bunch of ugly code.
Changed
- Changed some default settings for a better out-of-the-box experience.
- Doubled default recovery.
- Reduced exhaustion cost for swimming by half.
- Disabled the "fatigued" exhaustion tier - players are unaffected by fatigue until they become "winded" at 25%
- Enabled a two-second recovery cooldown on exhaustion
- Made the logarithmic recovery function the default.
[1.2.1] 2024-06-25
Have little a bugfix, as a treat.
Fixed
Fixed an error introduced when switching from Yarn to Mojang mappings, which caused the player to start sprinting
on a single tap of the w
key. (#15)