dirtyclothes-1.1.0-mc1.18.2-forge40.2.4.jar
Curse Maven Snippet
What's new
## v1.1.0
### New Features
- Added a config file (`dirtyclothes-common.toml`) exposing 15 tunable values: dirt-gain chances/amounts (walking, mining, combat), rain/water rinse rates, cooldown timing, armor penalty threshold and max percentages, discomfort threshold, and wash amount.
- Added an in-game config GUI, accessible from the "Config" button on the mod list screen — adjust every value with +/- buttons, grouped into Dirt Gain / Armor Penalty / Washing tabs, with each field showing its default value for reference.
### Fixes
- **Fixed a major bug where wearing a full set of dirty armor didn't reduce total Armor/Toughness correctly.** Each armor piece's penalty modifier shared the same internal ID, so when multiple dirty pieces were worn at once, the game's attribute system silently overwrote all but one piece's penalty — only one piece's reduction actually applied to your real Armor stat, even though every piece's tooltip looked correct individually. Each piece now gets its own unique modifier ID per equipment slot.
- Fixed a crash (`ArithmeticException: / by zero`) that could occur if "Dirt cooldown ticks" was adjusted down to 0 via the config GUI or by hand-editing the config file.
- Fixed the item tooltip sometimes showing stale (pre-wash / pre-dirty) Armor values instead of the current, correct reduction
### Other
- Bumped mod version to 1.1.0.
This mod has no additional files

