promotional bannermobile promotional banner

Peak Stamina

A fully customizable stamina overhaul inspired by the PEAK system. Compatible with all mods that use effects or NBT data
Back to Files

PeakStamina NeoForge 2.2.2.jar

File namePeakStamina NeoForge 2.2.2.jar
Uploader
Swiss819Swiss819
Uploaded
Sep 25, 2026
Downloads
50
Size
378.0 KB
Mod Loaders
NeoForge
File ID
8976322
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:peak-stamina-1412640:8976322"

Learn more about Curse Maven

What's new

Minor

Updated Custom Action Hooks: Added three new hook types to the experimental action system:
- KILL_ENTITY: Apply stamina costs or rewards upon killing an entity. Supports negative values (restores stamina on kill).
- INTERACT_BLOCK: Gate right-click block interactions (e.g., workstations, machines, doors) behind stamina costs. Cancels the interaction if stamina is insufficient.
- BREAK_BLOCK_SPECIFIC: Assign unique, heavy stamina costs to mining specific blocks (e.g., obsidian) independently from global block-breaking costs.

Priority: Prioritizes exact namespace/ID matches before falling back to ANY.

Auto HUD Rework: Fixed an issue where active penalties (such as a 30-point weight penalty) would permanently cap stamina and prevent the Auto HUD from ever fading out, even when "Auto Hud Show On Penalties" was set to False.


Configuration & Defaults

Default Experimental Hooks: Updated default customActionHooks with clear vanilla examples showcasing stamina refunds, workstation interactions, and high-cost block mining:
- KILL_ENTITY; ANY; -10.0
- INTERACT_BLOCK; minecraft:anvil; 5.0
- BREAK_BLOCK_SPECIFIC; minecraft:obsidian; 20.0

Bug Fixes

Better Combat & Item Cooldowns Crashes: Fixed a critical issue where attacking with a weapon on cooldown (e.g., from a Simply Swords weapon ability) would cause an UnsupportedOperationException crash with Better Combat. Peak Stamina now properly respects the enableAttackCooldownWhenExhausted config and no longer illegally cancels LeftClickEmpty events when the feature is disabled.

  • With that being said, peak stamina is now technically fully compatible with better combat and simply swords (unless there is another crash I don't know about, please let me know!)

Dedicated Server Crash ("Invalid Player Data"): Fixed a critical error where dedicated servers threw an exception and kicked connecting players with "Invalid Player Data" during login. The ConfigMigrator now strictly checks for a physical client environment before querying client.toml settings.

Admin Only Config Warnings: Outdated config chat alerts on dedicated servers are now restricted to server operators (permission level 2+) and singleplayer sessions.

Dual Wielding Offhand Bypass: Fixed a bug where offhand weapons could bypass stamina cooldown restrictions. Raw mouse and key inputs are now intercepted at high priority to block offhand swings while on cooldown.

ParCool + Auto HUD Bug: Fixed an issue where performing ParCool movement actions would permanently freeze the stamina bar on the screen until the player relogged.

Auto HUD Text Flashing: Fixed a vanilla Minecraft font rendering quirk where text elements (the numerical readout, text-based icons, bonus multipliers, and regen indicators) would briefly flash solid white right before the Auto HUD completely faded out.

This mod has no additional files