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
[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.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.0] 2024-06-25
A nice update to the HUD, and some tweaks.
Added
- Option to display stamina in the hud as an icon (that also indicates sprint status)
- Better control over placement of HUD element
- Icon texture can be overridden by resource packs by overriding:
assets/staminafortweakers/textures/stamina/sprint.png
assets/staminafortweakers/textures/stamina/sprint_background.png
assets/staminafortweakers/textures/stamina/walk.png
assets/staminafortweakers/textures/stamina/walk_background.png
Changed
- Added a small cooldown on stamina recovery while mining to keep the stamina display from "bouncing"
- Tweaked exhaustion effects slightly - now Fatigued only inflicts Fatigue I (was previously Fatigue II)
- Added a minimum recovery factor to the Logarithmic recovery formula to make waiting for the last bit of stamina less frustrating
- Extensively reorganized the codebase in ways that should have no effect on behavior, I hope.