The Hunger status effect drains your food bar faster than normal. It’s a harmful effect that can be applied by certain foods, mobs, or commands. Here’s what you need to know about it.
What Does Hunger Do?
When you have the Hunger effect, your food bar depletes faster. Higher levels of Hunger make your food disappear even quicker. Hunger II is twice as fast as Hunger I, Hunger III is three times as fast, and so on.
You’ll see a greenish-yellow effect icon in the top right of your screen when you have this effect. Green particles float around your character too.
How to Get Hunger
You can get the Hunger effect by eating certain foods or by being attacked by specific mobs.
Foods That Give Hunger
- Rotten Flesh (from zombies)
- Raw Chicken (from chickens)
- Pufferfish (from the ocean)
Mobs That Apply Hunger
Husks attack you with the Hunger effect. They’re similar to regular zombies but spawn in desert biomes.
Hunger Commands
You can apply the Hunger effect using the /effect command.
Current Versions
/effect give @p hunger 99999
This gives you Hunger for a long time. Change the number to how many seconds you want it.
/effect give @p hunger 99999 3
This gives you Hunger IV (level 3 is the 4th level). Use any number from 0-255 for different levels.
/effect give @p hunger 99999 255
This gives you the highest possible level of Hunger.
To remove it, use:
/effect clear @p
Older Versions (1.11-1.12)
/effect @p hunger 99999
For older Java Edition versions, use this format without “give”.
/effect @p hunger 99999 3
Hunger IV on older versions.
Effect Details
| Effect Name | Hunger |
|---|---|
| Type | Harmful |
| Effect ID | 17 |
| ID Name | minecraft:hunger |
| Icon Color | Greenish-yellow |
| Particles | Green floating effects |
How to Remove Hunger
Drinking milk removes all status effects, including Hunger. Just grab some milk and drink it.
You can also use the command to clear all effects:
/effect clear @p