Hunger
| Type | Mechanic |
|---|
Hunger is effectively removed in Matcha Flavoured. The hunger bar is hidden, the player's food level is held at a value where sprinting is always possible, and food is eaten for its healing and status effects rather than to fill a bar.
Mechanics
Food level
Every tick, the pack checks each player's food level (0 to 20, where vanilla shows 2 points per drumstick):[1]
- At 10 or above, the player is given
Hunger CCLVI (level 256) for 1 second, which drains the food level quickly. - At 6 or below, the player is given Saturation II for 1 second, which refills it.
The food level therefore stays a little above 6, the vanilla threshold for sprinting, and never gets high enough for vanilla natural regeneration or low enough to cause starvation. Both effects are hidden from the HUD.
Hunger bar
The resource pack replaces every food icon on the HUD with a blank texture, so the hunger bar isn't shown.[2]
Eating
The pack's foods use the can_always_eat option and restore no hunger. For example, bread has 0 nutrition and 0 saturation, and instead grants
Regeneration and removes harmful effects.[3] What a food does is described by its intrinsic and its tooltip. See Food and Cooking.
Because the food level never reaches 20, vanilla foods that are not flagged can_always_eat can still be eaten at any time.
Natural regeneration
Natural regeneration is turned off with a game rule, so a high food level wouldn't heal the player even if it were reached.
Hunger effect
The
Hunger status effect still exists and is used internally to drain the food level (above). Some foods and items also apply it as a side effect:
| Source | Kind | Level | Duration |
|---|---|---|---|
| Food | I | 0:30 (30% chance) | |
| Food | III | 0:15 |
History
| 0.4-alpha | Removed the "You cannot eat right now" warning. |
|---|
Trivia
- The developer found vanilla hunger "isn't very fun or engaging": "The punishment is not severe enough to be interesting and the remedy is not difficult enough to be engaging." They preferred the old Beta hunger system, where food healed directly.[4]
- The developer addressed the worry that unlimited sprinting makes mobs harmless by making zombies much faster.[5]
See also
References
- ↑
mechanics/manage hunger.mcfunction - ↑
hud/food full.png - ↑
oven/bread.json - ↑ Klei Wright, "Minecraft punishes casual players. I made a datapack to fix it." (YouTube)
- "The sprinting limitation is good in theory, but in practice only serves to frustrate me. The punishment is not severe enough to be interesting and the remedy is not difficult enough to be engaging."
- ↑ Klei Wright, "Minecraft punishes casual players. I made a datapack to fix it." (YouTube)
- "If you can always sprint, doesn't that mean hostile mobs won't be a threat? But, put a pin in that. We'll come back to it later."
| Health | |
|---|---|
| World |
|
| Items | |
| Undead |
|
| Other hostile mobs |
|
| Bosses | |