Stamina For Tweakers
A painfully configurable stamina mod.
There are a lot of stamina mods. None of them worked quite the way I wanted.
So I made this one. If it doesn't work the way you want, chances are that you can reconfigure it until it does.
Features
So many knobs to tweak!
- Depletion rate by activity
- Sprinting
- Swimming
- Jumping
- Climbing
- Mining blocks
- Attacking
- Shield Use
- Optional, somewhat upsetting panting noises when the player is winded.
- Recovery under different conditions
- Resting (not moving)
- Walking
- Sneaking
- Underwater
- Suffocating
- Recovery formula (linear or logarithmic)
- Customizable exhaustion effects with configurable thresholds
- Fatigue (like Slowness but affects climbing and swimming)
- Darkness when completely exhausted (optional)
- Mining fatigue (optional)
- Or any effect from Minecraft or any installed mod
- Configurable HUD Element
- Display as
- Icon (indicates stamina and sprinting status)
- Stamina Bar (horizontal or vertical)
- Position
- Colors
- Display as
- New Potions
- Fatigue - brewed with a Thick Potion and a Clay Ball
- Tirelessness - completely prevents stamina depletion, brewed with a Thick Potion and a Cocoa Bean
- Traveling enchantment
- Reduces stamina depletion for sprinting and jumping.
- Three levels, completely nullifies stamina depletion from movement at level III.
- Exclusive to leggings, conflicts with Swift Sneak.
- Untiring enchantment for tools
- Reduces stamina depletion for mining
- Three levels, completely nullifies stamina depletion from mining at level III.
- Mod compat with Gliders
- Set depletion per tick when using a glider
- When you're exhausted, you fall out of the sky. Be careful!
With all these options, you can make stamina management anything from a mild annoyance to a nearly crippling impediment! Good times.
Future Plans
Even more ridiculous options! Suggestions welcome on the issues page.
Acknowledgements
Sounds:
Breath_Scared_18.wav by LittleRobotSoundFactory -- https://freesound.org/s/270496/ -- License: Attribution 4.0
Graphics
Walking by Zach Hainsworth from Noun Project (CC BY 3.0) Running by mungang kim from Noun Project (CC BY 3.0)
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 3mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 10mo ago | 1 | ||||
| 10mo ago | 1 | ||||
| 10mo ago | 1 | ||||
| 10mo ago | 1 | ||||
| 10mo ago | 1 | ||||
| 10mo ago | 1 | ||||
| 10mo ago | 1 | ||||
| 10mo ago | 1 | ||||
| 11mo ago | 1 | ||||
| 11mo ago | 1 | ||||
| 11mo ago | 1 | ||||
| 11mo ago | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
|
R
1.0.0
|
last yr. | 1 |
- Compatibility with [Combat Roll](https://modrinth.com/mod/combat-roll)
- Assign a stamina cost for rolling, optionally disable Combat Roll cooldowns and rely on stamina as the throttle
- Thanks to [Shaaux](https://github.com/Shaaux) for the code!
### Fixed
- Fixed the rule for exhaustion on shield blocks not working on 1.21.1
- Thanks again to Shaaux for the patch!
- Compatibility with [Combat Roll](https://modrinth.com/mod/combat-roll)
- Assign a stamina cost for rolling, optionally disable Combat Roll cooldowns and rely on stamina as the throttle
- Thanks to [Shaaux](https://github.com/Shaaux) for the code!
### Fixed
- Fixed the rule for exhaustion on shield blocks not working on 1.21.1
- Thanks again to Shaaux for the patch!
- Compatibility with [Combat Roll](https://modrinth.com/mod/combat-roll)
- Assign a stamina cost for rolling, optionally disable Combat Roll cooldowns and rely on stamina as the throttle
- Thanks to [Shaaux](https://github.com/Shaaux) for the code!
### Fixed
- Fixed the rule for exhaustion on shield blocks not working on 1.21.1
- Thanks again to Shaaux for the patch!
- Compatibility with [Combat Roll](https://modrinth.com/mod/combat-roll)
- Assign a stamina cost for rolling, optionally disable Combat Roll cooldowns and rely on stamina as the throttle
- Thanks to [Shaaux](https://github.com/Shaaux) for the code!
### Fixed
- Fixed the rule for exhaustion on shield blocks not working on 1.21.1
- Thanks again to Shaaux for the patch!
- Added config to allow depleting stamina on a successful shield block.
- Added config to allow depleting stamina on a successful shield block.
- Added config to allow depleting stamina on a successful shield block.
- Added config to allow depleting stamina on a successful shield block.
### Fixed
- Don't deplete both the sprinting cost and swimming cost when sprint-swimming
- Don't deplete the weapon swing cost twice for vanilla weapons when Better Combat is installed
### Added
- Separate stamina cost for wading (moving in water without sprint-swimming)
- Two new configuration items for the Traveling enchantment:
travelingDamageChance: Percentage chance that Traveling will damage enchanted leggings on a tick it is active.
travelingMinimumDurability: If durability for enchanted leggings is below this value, Traveling will not activate- A new attribute,
staminafortweakers.generic.stamina_recovery_rate, which is applied as a multiplier to all
### Fixed
- Don't deplete both the sprinting cost and swimming cost when sprint-swimming
- Don't deplete the weapon swing cost twice for vanilla weapons when Better Combat is installed
### Added
- Separate stamina cost for wading (moving in water without sprint-swimming)
- Two new configuration items for the Traveling enchantment:
travelingDamageChance: Percentage chance that Traveling will damage enchanted leggings on a tick it is active.
travelingMinimumDurability: If durability for enchanted leggings is below this value, Traveling will not activate- A new attribute,
staminafortweakers.generic.stamina_recovery_rate, which is applied as a multiplier to all
### Fixed
- Register enchantments in
staminafortweakersnamespace instead ofminecraft - Don't deplete both the sprinting cost and swimming cost when sprint-swimming
- Don't deplete the weapon swing cost twice for vanilla weapons when Better Combat is installed
### Added
- Separate stamina cost for wading (moving in water without sprint-swimming)
- Two new configuration items for the Traveling enchantment:
travelingDamageChance: Percentage chance that Traveling will damage enchanted leggings on a tick it is active.
travelingMinimumDurability: If durability for enchanted leggings is below this value, Traveling will not activate- A new attribute,
staminafortweakers.generic.stamina_recovery_rate, which is applied as a multiplier to all
### Fixed
- Register enchantments in
staminafortweakersnamespace instead ofminecraft - Don't deplete both the sprinting cost and swimming cost when sprint-swimming
- Don't deplete the weapon swing cost twice for vanilla weapons when Better Combat is installed
### Added
- Separate stamina cost for wading (moving in water without sprint-swimming)
- Two new configuration items for the Traveling enchantment:
travelingDamageChance: Percentage chance that Traveling will damage enchanted leggings on a tick it is active.
travelingMinimumDurability: If durability for enchanted leggings is below this value, Traveling will not activate- A new attribute,
staminafortweakers.generic.stamina_recovery_rate, which is applied as a multiplier to all
- Fixed incorrect descriptionIds for our attributes which resulted in untranslated attribute strings. (#68)
- Fixed incorrect descriptionIds for our attributes which resulted in untranslated attribute strings. (#68)
- Fixed incorrect descriptionIds for our attributes which resulted in untranslated attribute strings. (#68)
- Fixed incorrect descriptionIds for our attributes which resulted in untranslated attribute strings. (#68)
- Use getAttributeValue() instead of getAttributeBaseValue() in several places so that modifiers work correctly.
- Use Double.compare() in a couple of places where precision issues were causing weirdness.
- Fixed a race condition which could cause the config to lose effect configs.
### Changed
- Lots of refactoring of the config system under the hood to make default config handling and rule reloading on
- Use getAttributeValue() instead of getAttributeBaseValue() in several places so that modifiers work correctly.
- Use Double.compare() in a couple of places where precision issues were causing weirdness.
- Fixed a race condition which could cause the config to lose effect configs.
### Changed
- Lots of refactoring of the config system under the hood to make default config handling and rule reloading on
- Use getAttributeValue() instead of getAttributeBaseValue() in several places so that modifiers work correctly.
- Use Double.compare() in a couple of places where precision issues were causing weirdness.
- Fixed a race condition which could cause the config to lose effect configs.
### Changed
- Lots of refactoring of the config system under the hood to make default config handling and rule reloading on
- Use getAttributeValue() instead of getAttributeBaseValue() in several places so that modifiers work correctly.
- Use Double.compare() in a couple of places where precision issues were causing weirdness.
- Fixed a race condition which could cause the config to lose effect configs.
### Changed
- Lots of refactoring of the config system under the hood to make default config handling and rule reloading on
- Shield use code now checks a tag (
staminafortweakers:shield) instead of checking for theminecraft:shielditem. Some modded shields may work out of the box, others may need to be added to the tag with a data pack. - No longer checking for item tags during Better Combat
AttackStartevents, since the event won't fire unless BC thinks the player is holding a weapon. Should fix weapon swing exhaustion for most modded weapons when BC is installed.
- Shield use code now checks a tag (
staminafortweakers:shield) instead of checking for theminecraft:shielditem. Some modded shields may work out of the box, others may need to be added to the tag with a data pack. - No longer checking for item tags during Better Combat
AttackStartevents, since the event won't fire unless BC thinks the player is holding a weapon. Should fix weapon swing exhaustion for most modded weapons when BC is installed.
- Shield use code now checks a tag (
staminafortweakers:shield) instead of checking for theminecraft:shielditem. Some modded shields may work out of the box, others may need to be added to the tag with a data pack. - No longer checking for item tags during Better Combat
AttackStartevents, since the event won't fire unless BC thinks the player is holding a weapon. Should fix weapon swing exhaustion for most modded weapons when BC is installed.
- Shield use code now checks a tag (
staminafortweakers:shield) instead of checking for theminecraft:shielditem. Some modded shields may work out of the box, others may need to be added to the tag with a data pack. - No longer checking for item tags during Better Combat
AttackStartevents, since the event won't fire unless BC thinks the player is holding a weapon. Should fix weapon swing exhaustion for most modded weapons when BC is installed.
- Fixed crash when depletion costs for gliding were enabled without having Gliders installed.
- Weapon swing clicks only deplete stamina if there isn't already a swing in progress.
### Added
- Added basic compatibility with Better Combat
- Holding left button to attack repeatedly incurs depletion costs for weapon swings.
- Fixed crash when depletion costs for gliding were enabled without having Gliders installed.
- Weapon swing clicks only deplete stamina if there isn't already a swing in progress.
### Added
- Added basic compatibility with Better Combat
- Holding left button to attack repeatedly incurs depletion costs for weapon swings.
- Fixed crash when depletion costs for gliding were enabled without having Gliders installed.
- Weapon swing clicks only deplete stamina if there isn't already a swing in progress.
### Added
- Added basic compatibility with Better Combat
- Holding left button to attack repeatedly incurs depletion costs for weapon swings.
- Fixed crash when depletion costs for gliding were enabled without having Gliders installed.
- Weapon swing clicks only deplete stamina if there isn't already a swing in progress.
### Added
- Added basic compatibility with Better Combat
- Holding left button to attack repeatedly incurs depletion costs for weapon swings.
- Eliminated unintended recovery cooldown on world join.
- Fixed some issues with stamina icon colors caused by dumb math.
### Changed
- Replaced old stamina icons with shiny new pixel art. (The old icons are still available as a built-in resource pack.)
- Refactored exhaustion code into modular rules to make it easier to add depletion events.
### Added
- Added depletion event for swinging a weapon without hitting anything. (Defaults to no cost.)
- Added
staminafortweakers:melee_weaponsitem tag to configure which items cause depletion on swing.
- Eliminated unintended recovery cooldown on world join.
- Fixed some issues with stamina icon colors caused by dumb math.
### Changed
- Replaced old stamina icons with shiny new pixel art. (The old icons are still available as a built-in resource pack.)
- Refactored exhaustion code into modular rules to make it easier to add depletion events.
### Added
- Added depletion event for swinging a weapon without hitting anything. (Defaults to no cost.)
- Added
staminafortweakers:melee_weaponsitem tag to configure which items cause depletion on swing.