CurseForge · Minecraft mod
Stamina Attributes
A small API that adds a stamina system controlled by entity attributes.
Quick answer
Which Stamina Attributes release should I use?
Stamina Attributes 4.0.1 targets 26.1, 26.1.1, 26.1.2 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. All 4 required mods have matching files.
Where it goes
Is Stamina Attributes required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Stamina Attributes 4.0.1 need?
4.0.1. Change the file and its required mods may change too.
Install Fabric API, Fzzy Config, Resource Bar API, Fabric Language Kotlin first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.
1 extra mod was pulled in by another dependency. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Stamina Attributes without breaking your instance.
Built for Stamina Attributes 4.0.1. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 4.0.1. It targets 26.1, 26.1.1, 26.1.2 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API, Fzzy Config, Resource Bar API, Fabric Language Kotlin first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 4.0.1. It opens that exact file at the source.
About this project
What does Stamina Attributes add?
Stamina Attributes
This API adds a stamina system controlled by entity attributes.
Default implementation
LivingEntities can have up to generic.max_stamina amounts of stamina. Stamina is regenerated by generic.stamina_regeneration every generic.stamina_tick_threshold ticks.
When stamina is reduced, regeneration is stopped for generic.stamina_regeneration_delay_threshold ticks.
When stamina is <= 0, regeneration is stopped for generic.depleted_stamina_regeneration_delay_threshold ticks.
generic.reserved_stamina describes the percentage amount of maximum stamina, that is currently not available.
generic.item_use_stamina_cost is the amount of stamina that is reduced when using an item with a stamina cost.
There are two ways to give an item a stamina cost:
- Items in the "staminaattributes:using_costs_stamina" item tag reduce stamina by generic.item_use_stamina_cost when they are used once. When stamina is < 0 the use action is not performed. In that case the item gets a cooldown, configured in the server config.
- Items in the "staminaattributes:continuous_using_costs_stamina" item tag reduce stamina by generic.item_use_stamina_cost every tick while they are used. When stamina is < 0, the usage is cancelled. In that case the item gets a cooldown, configured in the server config.
Default attribute values
- generic.max_stamina: 10
- generic.stamina_regeneration: 0
- generic.stamina_tick_threshold: 20
- generic.stamina_regeneration_delay_threshold: 20
- generic.depleted_stamina_regeneration_delay_threshold: 60
- generic.reserved_stamina: 0
- generic.item_use_stamina_cost: 0
Default item tags
"staminaattributes:using_costs_stamina":
{
"values": [
"minecraft:snowball"
]
}
"staminaattributes:continuous_using_costs_stamina":
{
"values": [
"minecraft:bow",
"minecraft:crossbow",
"minecraft:shield"
]
}
Customization
When the gamerule "naturalStaminaRegeneration" is true, players have a stamina regeneration of at least 1.
The client config allows customizing the HUD element. The details are explained in this wiki article.
The server config controls the integration with game mechanics, like stamina costs for various actions like jumping.
API
Casting a "LivingEntity" to the "StaminaUsingEntity" interface gives access to all relevant methods.
Project description from CurseForge.
Pick your setup
Stamina Attributes by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.1.2
1 loader build26.1.1
1 loader build26.1
1 loader build1.21.11
1 loader build1.21.10
1 loader build1.21.1
1 loader build1.21
1 loader build1.20.1
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Stamina Attributes versions and loaders
4.0.1
stamina-attributes-4.0.1.jar
16 Apr 2026
stamina-attributes-4.0.0.jar
15 Apr 2026
4.0.0
stamina-attributes-4.0.0.jar
15 Apr 2026
3.3.0
stamina-attributes-3.3.0.jar
12 Apr 2026
3.2.0
stamina-attributes-3.2.0.jar
17 Feb 2026
stamina-attributes-3.1.0.jar
25 Jan 2026
3.1.0
stamina-attributes-3.1.0.jar
25 Jan 2026
stamina-attributes-3.0.0.jar
25 Oct 2025
stamina-attributes-2.9.2.jar
5 Oct 2025
2.9.2
stamina-attributes-2.9.2.jar
5 Oct 2025
stamina-attributes-2.9.1.jar
15 Sept 2025
stamina-attributes-2.9.0.jar
27 Aug 2025
Looking for an older file? The official CurseForge project page is in Resources.