hungerdial-1.0.0.jar
Curse Maven Snippet
What's new
Changelog
1.0.0 — first release
- Scales every source of player food exhaustion by one multiplier, by modifying the argument of
FoodData#addExhaustion(float)— the single choke point in 1.21.1 that bothPlayer#causeFoodExhaustion(float)and the two natural-regeneration costs inFoodData#tick(Player)funnel through, so every source is scaled exactly once, including exhaustion added by other mods through the vanilla methods. Zero, negative and non-finite amounts pass through unchanged. - Default multiplier
0.65(35% less hunger than vanilla). - Config file
config/hungerdial.json, written with defaults on first start, carrying a one-line_commentexplaining the scale. Invalid values log a single warning, fall back to0.65, and leave the file on disk untouched. - One startup log line reporting the effective multiplier in plain English.
/hungerdial,/hungerdial get,/hungerdial set <0.0-10.0>and/hungerdial reload, at permission level 2, usable from the server console.setapplies immediately and saves, preserving an existing_comment.- Server-authoritative and client-optional: no packets, no registries, no client-side code.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects
