Stamina Attributes
by TheRedBrain
Stamina Attributes adds a stamina system that Fabric servers and players can configure, with stamina costs for actions and items.
What it does
The library gives every living entity maximum stamina and a regeneration rate. Stamina regenerates after a configurable delay, slows when depleted, and an actively used item or continuous use can draw it down. Actions and items carry stamina costs that are defined in data, and the cost of a tick-based activity applies twenty times per second, while an action cost applies once per performance. An action cannot be performed while stamina is at zero or lower, and blocks broken instantly by hand with a destroy time of 0 are excluded from the requirement.
Stamina Attributes requires Fabric API, Fzzy Config and Resource Bar API. It is open source under the MIT License and runs on the client and server together. Files are published for Fabric for 1.20.1, 1.21, 1.21.1, 1.21.10, 1.21.11, 26.1, 26.1.1 and 26.1.2, so the 1.20.1 – 26.1.2 range is covered by release versions of the library. Combat Roll Extension is one of the catalog mods that requires it.
Key features
Entity stamina attributes
Living entities receive a maximum stamina amount and a regeneration rate that other mods can read and modify.
Tick and action costs
Activities such as walking underwater, walking on water and sprint jumping draw stamina each tick, while single actions cost stamina once.
Item stamina costs
Items can be given a stamina cost through a tag or through their use, reducing stamina when used, including while the item is held down.
Depletion status effect
A player whose stamina falls below zero receives a status effect, which the server config defines, and the feature can be switched off there.
Customizable HUD
A client config option controls the stamina HUD element, and the StaminaUsingEntity interface gives access to the related methods.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 3
Required by 1 mod
How it compares
Limited Sprint is open source under the MIT License, works on Fabric, Forge, NeoForge and Quilt for 1.20.2 – 26.1.2, and is server required with an optional client. Realistic Stamina is client and server for 1.19.2 – 1.20.1 under the MIT License, and Zav's Stamina and Abilities is licensed under the GNU Lesser General Public License v3.0 or later for 1.19.2 – 1.20.6 on client and server.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Stamina Attributes | Fabric | 1.20.1 – 26.1.2 | Client and server | 2026-04-16 |
| Limited Sprint | Fabric, Forge, NeoForge and Quilt | 1.20.2 – 26.1.2 | Server required, client optional | 2025-08-13 |
| Realistic Stamina | Fabric | 1.19.2 – 1.20.1 | Client and server | 2023-09-02 |
| Zav's Stamina and Abilities | Fabric | 1.19.2 – 1.20.6 | Client and server | 2024-09-14 |
Questions
Does Stamina Attributes need Fabric API?
Does the server need Stamina Attributes?
Which game versions does Stamina Attributes support?
In the catalog
Stamina Attributes is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 15,189 mods support Minecraft 26.1.2.
More from TheRedBrain
Similar mods
What the author says
This API adds a stamina system controlled by entity attributes. LivingEntities can have up to _staminaattributes:max_stamina_ amounts of stamina. Stamina is regenerated by _staminaattributes:stamina_regeneration_ every _staminaattributes:stamina_tick_threshold_ ticks.
Official listing
- Modrinth page
- modrinth.com/mod/stamina-attributes
- Owner
- TheRedBrain
- Published
- 2024-05-02
- Updated on Modrinth
- 2026-04-16
- Facts verified
- 2026-10-15
