[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.
[1.1.1] 2024-06-23
Well, this is embarassing.
Fixed
- Fixed stamina depleting while riding animals or "sprinting" in boats. (#9)
[1.1.0] 2024-06-23
A magical update!
Added
- Added two new potions: Fatigue and Tirelessness
- Fatigue gives the Fatigue effect and is brewed with a Thick Potion and a Clay Ball.
- Tirelessness completely prevents stamina depletion and is brewed with a Thick Potion and a Cocoa Bean.
- Added a new enchantment for Leggings, Traveling
- Reduces stamina depletion from sprinting and jumping.
- Three levels, at level III completely prevents stamina depletion from sprinting and jumping.
[1.0.9] 2024-06-21
Fixed
- Fixed issue where modded tools that break multiple blocks would prevent stamina recovery after breaking a block (#7)
[1.0.8] 2024-06-21
Added
- New option to toggle stamina recovery when suffocating
- Low stamina applies a new effect, "Fatigue" instead of Slowness
- Fatigue affects movement speed, climbing speed, and swimming speed.
- New option for mining to cost stamina.
- New option for exhaustion to cause Mining Fatigue.
- Optional delay before recovering from exhaustion.
[1.0.7] 2024-06-20
Fixed
Disable stamina for Creative and Spectator game modes.
[1.0.6] 2024-06-19
Fixed
Players no longer make breathing noises when winded underwater.
[1.0.5] 2024-06-19
Changed
- Added configurable stamina depletion for climbing.
- Added somewhat upsetting sounds when the player is winded.
[1.0.4] 2024-06-18
Changed
- Moved most of the player stamina code back to the server side, because apparently I have no idea what I'm doing.
Fixed
- Slowness from exhaustion works again.
[1.0.3] 2024-06-16
Changed
- Rearranged the guts of all of the mixins for sanity
Fixed
- Now all stamina attribute updates are in the ClientPlayerEntity, which fixes some issues where the server and the client got out of sync because they were both updating the attribute. Oops.