Back to mods
Just Another Stamina System project artwork

CurseForge · Minecraft mod

Just Another Stamina System

Stamina system for attacking, blocking, sprinting, and drawing bows.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Just Another Stamina System release matches 1.12.2?

Updated 11 days ago
Best match for your filters jass-1.3.0.jar
Game version 1.12.2
Loader Forge

Just Another Stamina System jass-1.3.0.jar targets 1.12.2 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.

Where it goes

Is Just Another Stamina System required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Just Another Stamina System jass-1.3.0.jar need?

jass-1.3.0.jar on 1.12.2. Every mod below is checked against that same setup.

All 1 required mods have matching files

Install MixinBooter first. We found matching files for this game-version and loader setup. 18 come through another mod in the chain.

6 listed on this file 18 pulled in by those mods
MixinBooter Needed by Just Another Stamina System jass-1.3.0.jar
required
Matching file found Matched file: MixinBooter 12.5
Elenai Dodge 2 Optional for Just Another Stamina System jass-1.3.0.jar
optional
Matching file found Matched file: Elenai Dodge 2 v1.1.0 for 1.12.2
Baubles Optional for Just Another Stamina System jass-1.3.0.jar
optional
No matching file
RLCombat Optional for Just Another Stamina System jass-1.3.0.jar
optional
Matching file found Matched file: RLCombat-1.12.2-2.2.6.jar
Classic Bar Legacy Optional for Just Another Stamina System jass-1.3.0.jar
optional
Matching file found Matched file: classicbar-0.6.1
Inhibited Optional for Just Another Stamina System jass-1.3.0.jar
optional
Matching file found Matched file: 1.2.0
FermiumBooter Needed by RLCombat
pulled in
Matching file found Matched file: 00FermiumBooter-1.6.6.jar
Reach Fix Needed by RLCombat
pulled in
Matching file found Matched file: ReachFix-1.12.2-1.1.3.jar
AppleCore Needed by Classic Bar Legacy
pulled in
Matching file found Matched file: AppleCore-mc1.12.2-3.4.0.jar
ER Core Needed by Classic Bar Legacy
pulled in
Matching file found Matched file: ercore-1.4.0.jar
Just Enough Effects Needed by Inhibited
pulled in
Matching file found Matched file: JustEnoughEffects-1.0.3.jar
Combat Inhibited Needed by Inhibited
pulled in
Matching file found Matched file: combatinhibited-1.1.0.jar
GraveStone Mod Needed by ER Core
pulled in
Matching file found Matched file: [1.12.2] Gravestone Mod 1.10.3
Tinkers Construct Needed by ER Core
pulled in
Matching file found Matched file: TConstruct-1.12.2-2.13.0.183.jar
First Aid Needed by ER Core
pulled in
Matching file found Matched file: FirstAid 1.6.22
Oceanic Expanse Needed by ER Core
pulled in
Matching file found Matched file: Oceanic Expanse 1.2.3
Pyrotech Needed by ER Core
pulled in
Matching file found Matched file: pyrotech-1.12.2-1.6.19.jar
CraftTweaker Needed by ER Core
pulled in
Matching file found Matched file: CraftTweaker2-1.12-4.1.20.718.jar
Immersive Engineering Needed by ER Core
pulled in
Matching file found Matched file: ImmersiveEngineering-0.12-98

18 extra mods were pulled in by other dependencies. 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 Just Another Stamina System without breaking your instance.

Built for Just Another Stamina System jass-1.3.0.jar on 1.12.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use jass-1.3.0.jar. It targets 1.12.2 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install MixinBooter first. We found matching files for this game-version and loader setup. 18 come through another mod in the chain.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside jass-1.3.0.jar. It opens that exact file at the source.

About this project

What does Just Another Stamina System add?

JASS gives every player one stamina pool for combat and movement. Melee swings, shield blocks, sprinting, and drawing bows spend stamina, and stamina refills quickly after a short pause. Weapons, weight, and item modifiers change how much each action costs, and a configurable display shows the current amount.

JASS adds its own weight system. Worn armor and the items in your hands have weight, and heavier gear makes sprinting, jumping, and dodging cost more stamina.

This mod also reworks shields. Each shield has a Stability value that sets how much stamina a block costs, a shield can stop only part of a melee hit or a projectile, a block that empties stamina causes a Guard Break, and stamina regenerates more slowly while a shield is raised. The config lets you set the Stability and the melee and projectile block shares of each shield.

The default configuration is inspired by souls-like games: a small stamina pool that recharges quickly. The settings can also fit other stamina styles, such as Valheim or Skyrim, with a larger pool that recharges more slowly. max_stamina, stamina_regeneration, and regeneration_delay control this.

There are other mods that add stamina to Minecraft 1.12.2, including StaminaPlus and ER Core. JASS focuses on one pool shared by combat and movement, with per-item tuning, for players, modpack creators, and addon developers who want detailed control over it.

AI usage disclaimer: This mod was developed with AI-agent assistance using this agent workflow. The project owner reviewed the work during development.

For Players

What Changes While Playing

  • Every melee swing costs stamina, whether it hits or misses. By default every swing costs 12, with any weapon or an empty hand; a pack can give each weapon its own cost. Mining never costs stamina.
  • Sprinting and drawing a bow drain stamina while you do them. Sprinting stops and a drawn bow is lowered without firing when stamina runs out.
  • Stamina debt: a swing, block, or dodge goes through as long as you have any stamina left, even if it costs more than you have. The missing amount is taken as debt, and your stamina goes below zero.
  • While stamina is at zero or below, you cannot swing, block, sprint, draw, or dodge.
  • Example: you have 5 stamina and swing a sword that costs 12. The swing happens, and your stamina drops to -7. The display shows empty. After the short pause, stamina regenerates from -7 back up past zero, and only then can you act again. With the defaults this takes about one second. A last swing at low stamina is never wasted, but it costs you time.
  • Stamina refills after a short pause once you stop spending it.
  • Jumping can cost stamina too. This is off by default.
  • Players in Creative mode spend no stamina by default, and the stamina display is not shown in Creative.

Shields

  • Blocking a hit costs stamina based on the damage of the hit.
  • While a shield is raised, stamina regenerates at only 20 percent of its normal speed.
  • Each shield has a Stability value. Higher Stability makes blocks cheaper. Armor, held items, and baubles can add to it (the Stability Bonus) through item modifiers.
  • A shield can be set to stop only part of a melee hit or a projectile. The rest of the damage goes through. Every shield stops everything by default.
  • Guard Break: a block that takes your stamina to zero or below still works, but then the shield is lowered and cannot be raised for a short time. The shield shows a cooldown and plays the shield-break sound.
  • At zero or below you cannot block, and the hit deals full damage.

Weight

  • Worn armor and the items in your hands have weight. Items in your inventory do not.
  • More weight makes sprinting, jumping, and dodging cost more stamina. Each weight point adds 2 percent. Swing, bow, and block costs do not change with weight.
  • Heavier armor weighs more. A full leather set weighs 6, and a full diamond set weighs 23.
  • Shields and weapons add weight while held: a shield 4, a sword 2, an axe 3.
  • Item modifiers can make gear lighter or heavier: a flat amount, or a percentage of your total weight.
  • Item tooltips show each item's weight.

Display and Tooltips

The built-in display is a stamina bar above the hotbar, next to the other bars. It hides while stamina is full and flashes when an action is refused. The bar can be moved to a corner, the middle of an edge, or the center of the screen, resized or stood upright, and set to fill from any end. The display can instead be a row of lightning segments in the style of the hunger bar, which moves only with its own offsets.

Item tooltips show the stamina values the server uses: swing cost, bow drain, shield Stability, block shares and block cost, weight, and item modifiers. Tooltips can be set to show only while Shift is held, or turned off.

Optional Integrations

Each integration runs only when that mod is installed.

  • Elenai Dodge 2 (1.1.0 or newer): dodges cost stamina instead of feathers, and the feather bar is hidden. Armor weight comes from Elenai's own weight settings and appears in the JASS weight tooltip line. Elenai still refuses dodges in armor that is too heavy for its own limit.
  • RLCombat: off-hand attacks cost the swing cost of the off-hand item.
  • Inhibited, for example with Combat Inhibited: stamina is spent only while you have the Inhibited effect. Outside it, nothing costs stamina and the display hides.
  • Baubles (1.5.2 or newer), or Bubbles: item modifiers also apply to worn baubles.
  • Classic Bar Legacy (0.6.0 or newer): stamina can be shown as a bar in Classic Bar's layout instead of the JASS display. See Classic Bar Setup below.

Support for more mods is in the separate addon JASS Integrations. See its page for the current list.

ShieldBreak is not meant to be used with JASS: both mods put shields on cooldown. More compatibility notes, including Spartan Shields and Spartan Weaponry, are in the README.

Classic Bar Setup

Classic Bar does not add bars by itself, so you add the stamina bar once.

  1. Open the Mods screen, select Classic Bar Legacy, and open its config.
  2. Find Bar right order in its bar overlay options.
  3. Add jassstamina to the list. Put it last.

Last is the best place because the stamina bar hides while stamina is full. Anywhere else, the bars after it move down while it is hidden and back up when stamina drops. To keep the bar on screen at all times, set hud_hide_when_full to false in config/jass/jass-client.cfg.

The bar color and the number beside the bar are set by classicbar_bar_color and classicbar_show_numbers in the same file. Icons and percentages are Classic Bar's own settings.

Requirements

Required:

  • MixinBooter 10.7 or newer (Cleanroom already includes it)

JASS is a Forge mod, developed and tested on Cleanroom. Install it on the server and on every client.

For Modpack Creators

JASS is designed so that its default balance can be replaced without writing another mod. A pack can configure:

  • Maximum stamina, stamina regeneration, the delay before regeneration resumes, and how deep stamina debt can go.
  • The cost of melee swings, sprinting, bow draws, jumps, and Elenai dodges.
  • Exact swing costs and bow drains for individual items. These lists ship empty, so every item, modded weapons included, uses the default cost. Modded items without an entry also weigh 0 when held and have Stability 0 as shields.
  • Shield Stability, melee and projectile block shares, block cost, Guard Break length, and how much regeneration is kept while a shield is raised.
  • The weight of armor and of held items, and how strongly weight raises movement costs.
  • Stamina properties granted by any registered item while worn, held, or equipped as a bauble.
  • Whether creative players spend stamina, and which addon stat providers a server turns off (disabled_stamina_providers).
  • The Elenai Dodge 2, RLCombat, Inhibited, and Classic Bar Legacy integrations.
  • The local appearance and visibility of the stamina display and tooltips.

Configuration Files

JASS generates two files:

  • config/jass/jass.cfg controls the stamina pool, costs, per-item values, shields, weight, item modifiers, and integrations. In multiplayer, the server's file applies, and tooltips show its values.
  • config/jass/jass-client.cfg controls the local display and tooltips.

Both can also be changed in game: Mod Options, JASS, Config, then General or Client.

Operators can use /stamina inspect to see a player's stamina, stats, weight, and the item rules that apply, /stamina restore to refill stamina, and /stamina set to set it.

For Mod Developers

JASS includes a public API for addons. Addons can read and change stamina, add their own stamina actions, check an action before its effect and pay only when it succeeds, check whether an action may start without paying, take over the bow-like use of their own items, add stat modifiers, supply default stamina values for items the config does not list, adjust or cancel any cost, listen for stamina changes, and replace the display or the tooltip lines. See the API section of the README and the Javadoc comments in the com.mahghuuuls.jass.api and com.mahghuuuls.jass.api.client packages.

Detailed System Reference

Stamina Stats

  • Stamina: the player's current amount. It can go below zero (stamina debt).
  • Maximum Stamina: the size of the pool. Default 60.
  • Stamina Regeneration: stamina restored per second once regeneration resumes. Default 25.
  • Regeneration Delay: how long regeneration waits after stamina is spent. Default 0.75 seconds.
  • Stamina Efficiency: points that lower every cost with diminishing returns. Base 0.
  • Debt limit: stamina never goes below -max_debt_fraction x Maximum Stamina. Default 1.0, so down to -60.

Stamina Efficiency is not a percentage. With efficiency_scale K (default 100), every cost is multiplied by:

K / (K + Stamina Efficiency)

So 100 efficiency halves every cost, and 200 makes everything cost one third. A one-time cost above zero never drops below min_discrete_cost (default 1).

Default Costs

stamina {
    D:default_melee_cost=12.0
    D:sprint_cost=5.0
    D:default_bow_draw_cost=8.0
    B:jump_cost_enabled=false
    D:jump_cost=12.0
    D:elenai_dodge_base_cost=10.0
}

Melee and jump costs are paid once per action. Sprint and bow costs are per second. Per-item swing costs and bow drains use one entry per line. The lists ship empty; for example:

stamina {
    S:melee_cost_overrides <
        minecraft:diamond_sword=16
        minecraft:stick=4
     >
    S:bow_draw_cost_overrides <
        minecraft:bow=6
     >
}

A cost of 0 makes that item free. Anything drawn like a bow uses the bow rule, including modded longbows and aimed crossbows.

Shield Blocks

A block costs:

damage x block_stamina_per_damage x stability_scale / (stability_scale + Stability)

Stability here is the shield's Stability plus the player's Stability Bonus from item modifiers, and never below 0. With the defaults (block_stamina_per_damage 1.0, stability_scale 100) and the vanilla shield's Stability of 50, a block costs 0.67 stamina per point of damage. A shield without a Stability entry uses default_shield_stability (default 0), so a block with it costs 1 stamina per point of damage, more than with the vanilla shield.

Block shares set how much of a hit a shield stops: 1.0 stops everything, 0.7 lets 30 percent through. Melee hits and projectiles have separate lists:

stamina {
    S:shield_stability <
        minecraft:shield=50
     >
    S:shield_melee_block <
        minecraft:shield=1.0
     >
    S:shield_projectile_block <
        minecraft:shield=1.0
     >
    D:guard_break_cooldown=2.0
    D:shield_raised_regeneration=0.2
}

shield_raised_regeneration is the share of Stamina Regeneration kept while a shield is raised: 0.2 keeps 20 percent, 0 stops regeneration while blocking, and 1 keeps the full speed. The pause before regeneration still counts down while the shield is up.

Weight

Weight multiplies only sprint, jump, and dodge costs:

1 + Effective Weight x weight_factor

With the default weight_factor of 0.02, each weight point adds 2 percent. Effective Weight is the weight of the worn armor plus the weight of the items in both hands, changed by any weight modifiers, and never below 0.

Default armor weight per full set: leather 6, gold 11, chainmail 11, iron 17, diamond 23. Armor without an entry weighs its armor points. Default held weight: shield 4, every vanilla sword 2, every vanilla axe 3, everything else 0. For example, full iron armor with a sword and a shield weighs 23, so sprinting costs 46 percent more.

With Elenai Dodge 2, the armor part comes from Elenai's weight settings times elenai_weight_conversion (default 1.4), and the held part still comes from the JASS held_weight list.

Adding Stamina Properties to Existing Items

The item_stamina_modifiers list can give stamina properties to any registered item without writing an addon:

namespace:item[@metadata-or-*]=field:value;field:value

The item counts only while worn as armor, held in either hand, or equipped as a bauble. For example:

stamina {
    S:item_stamina_modifiers <
        minecraft:golden_chestplate=flat_maximum:20;flat_delay:0.5
        minecraft:feather=efficiency:50
     >
}

The chestplate gives +20 Maximum Stamina and +0.5 s Stamina Regeneration Delay while worn. The held feather gives +50 Stamina Efficiency. The tooltip shows each line in blue or red.

Available fields:

  • flat_maximum, maximum_increase, and maximum_reduction
  • flat_regeneration, regeneration_increase, and regeneration_reduction
  • flat_delay, delay_increase, and delay_reduction
  • efficiency
  • stability: points added to the Stability of every block you make. It can be negative.
  • flat_weight: weight points added to Effective Weight. weight_increase and weight_reduction: the total weight then goes up or down by that share.

Increases and reductions are fractions: 0.2 means 20 percent. For example, minecraft:iron_chestplate=stability:50 makes every block with the vanilla shield cost as if it had Stability 100, and minecraft:leather_boots=weight_reduction:0.2 makes the wearer 20 percent lighter.

Built-in Display Reference

Write the values in upper case, as the configuration file lists them. The built-in display can:

  • Be a bar (hud_style=BAR) or a row of segments (hud_style=SEGMENTS).
  • Hide while stamina is full, and hide outside the Inhibited effect.
  • Show no number, current stamina, maximum stamina, or both.

The bar (not the segment row) can also:

  • bar_position: sit in the right or left bar column above the hotbar (RIGHT_STACK, the default, or LEFT_STACK), or at one of nine screen points: TOP_LEFT, TOP_CENTER, TOP_RIGHT, MIDDLE_LEFT, CENTER, MIDDLE_RIGHT, BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT.
  • bar_x_offset, bar_y_offset: move from there, in GUI pixels; positive values move it right and up.
  • bar_width, bar_height: any size from 1 to 400 GUI pixels (default 81 x 5).
  • bar_fill_direction: fill from the left, right, bottom, or top (LEFT_TO_RIGHT, the default, RIGHT_TO_LEFT, BOTTOM_TO_TOP, TOP_TO_BOTTOM). For a standing bar, use a small width and a large height, for example bar_width=5, bar_height=60, bar_fill_direction=BOTTOM_TO_TOP.

The bar always stays fully on screen. BOTTOM_CENTER covers the hotbar; lifted a little, it covers the experience bar, so lift it further or choose another position. The segment row moves only with segments_x_offset and segments_y_offset.

Source code: github.com/mahghuuuls/jass

Project description from CurseForge.

Pick your setup

Just Another Stamina System by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Just Another Stamina System versions and loaders

4 of 4 releases match
Clear filters

Looking for an older file? The official CurseForge project page is in Resources.