Added a new set of attributes to control stamina costs for specific actions independently.
- peakstamina:jump_cost_multiplier
- peakstamina:sprint_cost_multiplier
- peakstamina:attack_cost_multiplier
- peakstamina:block_break_cost_multiplier
- peakstamina:swim_cost_multiplier
- peakstamina:climb_cost_multiplier
- peakstamina:regen_delay_multiplier
- peakstamina:exhaustion_duration_multiplier
- peakstamina:weight_calculation_multiplier
The stamina calculation logic now checks these specific attributes before applying the cost.
The formula is: TotalCost = BaseCost * GlobalUsageMultiplier * SpecificActionMultiplier. Updated /stamina attr command to support the new action multipliers (e.g., /stamina attr cost_jump 0.5 to halve jump costs).
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }