Tags
Creators
Details
2.0.0+hotfix
Compatibility
Changes
Hotfix 2
- Fixed Crash on startup for dedicated servers issue #10
- Fixed some suggestion boxes not showing all possible options. (a good example of this is the suggestion box for weight not showing minecraft:oak_log.)
Hey! Never thought I would make it to this point but here I am. Version 2.0.0 was quite a struggle but its here and with some QOL changes and some other requested features. If you have any bugs (or suggestions) please let me know by either posting a comment or making an issue in github, enjoy!
Major Features
In-game config menu: Added an in-game config menu (made it myself, no dependencies) that you can access in Menu -> Mods -> Peak Stamina -> Config. You can see som ephotos of what it looks like in the gallery.
It features:
- Categorized Sidebar: A sidebar to jump between different categories and sub sections, with scroll tracking.
- Search Bar: Instantly filter and find specific settings by their name or description, utilizing a clean top-right dropdown search menu.
- Setting Descriptions: Hovering directly over a setting name displays detailed
descriptions. If a setting is disabled, the tooltip will tell you exactly which master toggle you need to turn on first. - Quick Navigation: You can click a category or a sub category to instantly go to that section.
- Advanced List Editor: Complex string lists open in a dedicated sub-screen with a format guide that will appear when you click the button on the top right, syntax validation, and an autocomplete suggestion system.
Custom UI texture sheet: Created a dedicated texture sheet that you can freely paint over to create resource packs and anything else, as long as you correctly label the starting X and Y coordinates, as well as the width and height of the texture. A tutorial on how to use it is included in the .txt file inside the assets folder.
Customizable regen indicators: Moved away from code created textures into pixel art so people can use resource packs with it for the regen indicators. You can select to use the default >>> text or use the custom texture on the texture sheet.
Configs:
regenIndicatorStyle: Regen Arrow Style: DEFAULT (uses >>> ), CUSTOM (uses your custom texture made in the sprite sheet) or OFF. (Default:RegenIndicatorStyle.DEFAULT)showRegenBorder: If true, draws a slightly dark border around the regen indicators (>). (Default:true)
Minor Features
Updated exhaustion penalties: Exhaustion penalties can now accept status effects.
Configs:
customExhaustionPenalties: List of Attribute Penalties to apply when Stamina hits 0β¦ You can also apply Potion Effects. (Default:["minecraft:generic.movement_speed;-0.10;2", "minecraft:generic.attack_speed;-0.15;2", "minecraft:generic.attack_damage;-0.15;2", "minecraft:slowness;0;30"])
Dynamic weight display: Weight display in the inventory can now be in kg, lbs, or custom (the mod will automatically convert lbs to kg or kg to lbs when switching).
Configs:
enableWeightHUD: Enable the dynamic Weight/Encumbrance text on the inventory screen. (Default:true)displayUnit: The unit of measurement to display for weight. (Internal logic remains in lbs). (Default:WeightUnit.kg)customUnitLabel: If displayUnit is CUSTOM, what label should be shown? (e.g., 'oz', 'stones'). (Default:"kg")customUnitMultiplier: If displayUnit is CUSTOM, what should the internal lbs value be multiplied by. (Default:1.0)
Tooltip weight units: Added units to the weight display in item tooltips. This will also natively follow your configured weight measurement.
Configs:
enableTooltips: Enable stamina information on item tooltips. (Default:true)advancedTooltipsOnly: Only show tooltips when advanced tooltips are enabled (F3+H). (Default:false)labelWeight: Text shown before the Weight value. (Default:"Weight: ")customTooltips: Define multiple tooltips to display on items. (Order here dictates order shown in-game). (Default:["WEIGHT;BOTTOM;DARK_GRAY;WHITE", "ATTACK_COST;BOTTOM;DARK_GRAY;WHITE", ...])
Weight HUD offset changes: Changed the name of weightHUDX to WeightXOffset and weightHUDY to WeightYOffset. The default values were changed from -49 and -75 to 0 and 0. The HUD will remain in the exact same spot; the old values were just where it was on the screen, while the new values act as an offset from that point.
Configs:
weightXOffset: X position offset for the Weight HUD (0 is the center of the screen). (Default:0)weightYOffset: Y position offset for the Weight HUD (0 is the center of the screen). (Default:1)
Config auto refresh: Made universal penalties and similar lists auto refresh. Changes will be applied in game when the file is saved or a new row is added in the config menu.
Configs:
universalPenalties: Universal Compatibility with Scaling Penaltiesβ¦ Allows you to link external mod data (NBT tags or Potion Effects) to the stamina system. (Default:["NBT;thirstLevel;<;6;0;20.0;38143;π§", "NBT;targetTemperatureLevel;>;2;4;15.0;16724016;π₯", ... ])universalBuffs: Universal Compatibility for granting Bonus Stamina. Uses same logic as universal penalties. (Default:["EFFECT;minecraft:strength;PASSIVE_OVER;-1;20.0;1.0", "EFFECT;minecraft:resistance;BURST_OVER;-1;100;25.0", ... ])
File reorganization: Organized the mod's files into specific folders so it's much easier to navigate and update things moving forward.
Version number fix: The version number displayed in the Minecraft mods tab is now correctly formatted.
Added mod compatibilities: Added native stamina integration for a few other mods.
Compatibilities
Shield Expansion: Added compatibility for stamina drain during parries and blocking.
Configs:
shieldExpParryMult: Multiplier for the stamina block cost when successfully parrying. 0.0 = Free parry, 0.5 = Half stamina cost, 1.0 = Normal block cost. (Default:0.0)shieldExpParryBonus: Flat amount of Bonus Stamina (Yellow Bar) to grant when successfully parrying. Set to 0.0 to disable. (Default:15.0)
Wall-Jump! TXF: Added compatibility for wall-jumping actions.
Configs:
wallJumpActionCosts: Wall-Jump! TXF Action Stamina Costs. Types: START = One-time cost when action begins, CONTINUE = Cost per tick while action is active. (Default:["WallJump;START;10.0", "DoubleJump;START;15.0", "WallCling;START;3.0;CONTINUE;0.15"])
speedBoostExtraLvl1: Extra stamina drained per tick for Speed Boost Level 1. (Default:0.02)speedBoostExtraLvl2: Extra stamina drained per tick for Speed Boost Level 2. (Default:0.05)speedBoostExtraLvl3: Extra stamina drained per tick for Speed Boost Level 3. (Default:0.1)dropOnEmptyWallCling: If true, the player will be forced to let go of the wall if they run out of stamina. (Default:true)
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:ntZfcsjr:1oxfonZQ"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:ntZfcsjr:1oxfonZQ"
}

