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

peak_stamina-1.8.14.jar

File namepeak_stamina-1.8.14.jar
Uploader
Swiss819Swiss819
Uploaded
Mar 6, 2026
Downloads
156
Size
125.1 KB
Mod Loaders
Forge
File ID
7721796
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:peak-stamina-1412640:7721796")

Learn more about Curse Maven

What's new

Major Features

Universal Buffs

You can now grant players Bonus Stamina based on NBT tags or Potion Effects, this essentially works the same way as universal penalties (in the universal compat section). Configs can be found in config/peakstamina/lists.toml

  • universalBuffs: Supports PASSIVE (regen over time), BURST (instant on threshold), or BOTH. Also supports MULTIPLIER scaling so the buff grows based on effect amplifier or NBT value.

  • There's also a toggle for whether passive Bonus Stamina pauses while the player is actively draining stamina.

Experimental Mob Stamina (Lite)

Mobs can have stamina now. It's whitelist based and optimized in a way that it shouldn't have any major performance impacts, nonetheless it is still experimental and disabled by default. Configs can be found in config/peakstamina/experimental.toml

  • Exhaustion Profiles: exhaustionProfiles templates that define which attributes get debuffed when a mob tires out. Custom mod attributes are supported.

  • Dynamic Projectiles: Ranged mobs shoot slower, weaker arrows with worse drop when exhausted (scales based off their attack attribute reduction).

  • Stamina: Mobs use stamina only when they attack you (hitting a shield counts) and for ranged mobs that use bows and crossbows (unsure about modded) it uses stamina to shoot and doesn't matter if it hits you or not.

  • Visual Cues: Exhausted mobs emit sweat particles. Can be toggled off in the config.

Minor Features

itemCosts, itemCostTags, and consumableValues now reload when you reload configs. Basically you no longer need to restart your server or instance to load in the new config values for those, just run /reload as a command and it will apply the changes you made.

Reformatted the lists config so its easier to read (weight especially)

Performance

Fixed a handful of issues, NBT data was being processed way too aggressively, and the server was syncing stamina to clients far more often than it ever needed to. Both are sorted now. You should notice smoother TPS, less RAM pressure, and a meaningful drop in network traffic, especially on multiplayer or in heavy packs.

For the more tech inclined: item lookups are now O(1) cached at startup instead of O(N) parsed on every action, NBT serialization is throttled cutting GC (garbage collection) overhead by ~95%, and stamina sync packets are down 80-90%.

A rough picture of how much unnecessary work the old system was doing in the background.

What Changed Old System New System
Config lookups per action Scaled with modpack size Always 1 operation
Player data saves per 5 seconds 100 full saves ~5 saves
Stamina sync packets per minute 1,200 packets ~61 packets



None of this is particularly visible, but it was all adding up in the background especially on servers and heavy modpacks. This update cuts out the vast majority of that.

This mod has no additional files