durability-multiplier-1.1.10+26.1.2.jar
Curse Maven Snippet
What's new
[1.1.10+26.1.2] - 2026-08-21
Added
- Fractional Durability & Percentage Scaling: Upgraded durability math and GameRules from whole integer multipliers to granular percentages (
ig:dm_percent_*), fully supporting durability reductions below 1x (e.g. 50 = 50% half durability / 2x wear, 25 = 25% quarter durability) as well as boosts (e.g. 200 = 200% double durability, 150 = 150% 1.5x durability). - Tooltip Display Format Setting: Added
tooltipFormatoption in config and Cloth Config GUI with three selectable modes:ADAPTIVE(shows2xfor round multiples,50%/150%for fractions/reductions),PERCENTAGE(always%), andMULTIPLIER(alwaysx). - Automated Durability Test Suite: Added comprehensive JUnit 5 test suite (
DurabilityHelperTest) asserting probabilistic damage distribution, boundary cases, and tooltip formatting across all modes.
Changed
- Config Version 2 Migration: Bumped
DurabilityConfigto version 2 with automated backward-compatible migration (multiplier * 100) from existing v1 configuration files. - Rule Renaming: Migrated gamerules to
ig:dm_percent_global,ig:dm_percent_weapons,ig:dm_percent_swords, etc. Default global is 200% (2x), with specific category overrides defaulting to 0 (inherit).
This mod has no additional files

