On this page (12)
HungerDial is a very small mod with one job: it scales all the hunger you lose by a single number you can turn up or down. Out of the box that number is 0.65, so hunger drains 35 percent slower than in vanilla. Nytheria runs it at exactly that value.
It does not touch food. Bread is still bread, and a stew still fills what it filled before. You simply get hungry less often.
At a glance#
| Side | The server (and singleplayer). Optional on clients |
| Version in the pack | 1.0.0 |
| Needs | Minecraft 1.21.1, Fabric Loader 0.19.1 or newer, Fabric API (only for the command), Java 21 |
| Multiplier | exhaustionMultiplier, from 0.0 to 10.0 |
| In Nytheria | 0.65 |
| Made by | Navrelis |
| Licence | MIT |
Why Nytheria has it#
Nytheria presents itself as a gentler way to survive: graves keep your items and XP when you die, every player gets their own loot, and hunger drains 35 percent slower. HungerDial is the piece that does the last one. One number replaces what would otherwise be many separate tweaks across other mods, and it leaves every food item alone. See also Farming & Cooking and Difficulty, Death & Graves.
How hunger works, and what HungerDial changes#
Minecraft keeps a hidden counter for each player called exhaustion. Sprinting, jumping, mining, attacking, swimming, taking damage and regenerating health all add to it. Every 4.0 points of exhaustion costs one point of saturation. Once saturation is gone, it costs one half-shank of food.
HungerDial multiplies every amount added to that counter. In 1.21.1 all exhaustion goes through one place in the game's code, so every source is scaled exactly once and nothing is scaled twice. That includes exhaustion that other mods add, as long as they use the game's own methods. Zero, negative and non-finite amounts pass through unchanged.
With the Nytheria value of 0.65, the same activity adds 65 percent of the exhaustion it would in vanilla, which is 35 percent less.
What it does not change#
- Food items. Nutrition and saturation values stay exactly as the pack defines them.
- The caps. The vanilla exhaustion cap of 40.0 and the 4.0 points per food point stay.
- Mods that write exhaustion directly. A mod that sets the counter to a value, instead of adding to it, is not scaled.
What you see in the game#
Nothing new. There is no screen, no key and no item. Your hunger bar simply drops more slowly. Because the mod registers no packets, no registries and no client code, players without it can join a server that has it and see a correct food bar.
Command#
The command needs permission level 2 (operators) and works from the server console too.
| Command | What it does |
|---|---|
/hungerdial | Shows the current multiplier |
/hungerdial get | The same |
/hungerdial set <0.0-10.0> | Applies the value at once and writes it to the config file |
/hungerdial reload | Re-reads the config file from disk |
set keeps the _comment line that the file already has. All answers are plain English text, not translation keys, so players who do not have the mod installed read them correctly.
Config#
File: config/hungerdial.json, created with defaults the first time the mod starts.
{
"_comment": "1.0 = vanilla, 0.65 = 35% less hunger, 0.5 = half, 0.0 = never hungry, 2.0 = double; range 0.0-10.0; change in game with /hungerdial set <value>",
"exhaustionMultiplier": 0.65
}| Option | Default | Nytheria | Range |
|---|---|---|---|
exhaustionMultiplier | 0.65 | 0.65 | 0.0 to 10.0, a finite number |
What the values mean:
| Value | Effect |
|---|---|
0.0 | Never hungry |
0.5 | Hunger drains at half speed |
0.65 | 35 percent less hunger (the default and the Nytheria value) |
1.0 | Vanilla |
2.0 | Hunger drains twice as fast |
A value out of range, a wrong type or broken JSON writes one warning to the log, falls back to 0.65 and leaves the file as it is, so a hand edit is never overwritten. At start the log shows the effective value, for example [Hunger Dial] Exhaustion multiplier 0.65 (35% less hunger).
For server owners#
- Put the jar on the server.
- Change the number in
config/hungerdial.json, or run/hungerdial set <value>in game or from the console. - Use
/hungerdial reloadafter you edit the file by hand.
Singleplayer runs an integrated server, so the mod works there too.
Compatibility notes#
- Other mods. Anything that adds exhaustion through the vanilla methods is scaled with everything else. A mod that writes the exhaustion value directly is not.
- Clients. Optional. The mod has no client code.
What it builds on and credits#
HungerDial is Navrelis' own mod. It builds on vanilla's exhaustion system and uses Fabric API for its command. It is MIT licensed.
FAQ#
Does it make food worth more? No. Food items give the same nutrition and saturation as before. You lose less, so the same food lasts longer.
Is 0.65 the right value for my friends and me? It is Nytheria's value, and it is meant to feel a little kinder than vanilla without removing hunger. On your own server you can set any value from 0.0 to 10.0.
Can I turn hunger off?
Set the value to 0.0. You will never get hungry through exhaustion.
Do I need to install it on my game to join the Nytheria server? No. It is optional on clients.
Does it change health regeneration? It scales the exhaustion that regeneration costs, so healing eats food more slowly too. It does not change how fast you heal.
Where does "35 percent slower" come from? It is 1 minus 0.65. The tips in Wayfarer's Welcome use the same number.
See also#
- Farming & Cooking
- Difficulty, Death & Graves
- Commands
- TickMender and Nytheria Compat, the other under-the-hood mods