Hunger

From Matcha Flavoured Wiki
Jump to navigation Jump to search
For how this works in unmodified Minecraft, see Hunger on the Minecraft Wiki.
Hunger
Bread.png: Inventory sprite for Bread in Minecraft as shown in-game with description: BreadBread Cleanse Maleffect
TypeMechanic

Hunger is effectively removed in Matcha Flavoured. The hunger bar is hidden, the player's food level is never allowed to fall to where sprinting stops, and food is eaten for its healing and status effects rather than to fill a bar. The  Hunger status effect instead stops the player from healing while it lasts.

Mechanics

Food level

The food level the pack refills at 8 or below, so it never falls to vanilla's sprinting threshold.
The food level the pack refills at 8 or below, so it never falls to vanilla's sprinting threshold.
The food level the pack refills at 8 or below, so it never falls to vanilla's sprinting threshold.

Every tick, the pack checks each player's food level (0 to 20, where vanilla shows 2 points per drumstick). At 8 or below, the player is given Saturation II with a duration of 1, which refills it. Saturation is an instant effect, so the game reads that duration as 1 tick rather than 1 second: each time, the effect acts once and restores 2 food points, and it's given again on the next tick while the level is still 8 or below.[1]

The food level is therefore back at 9 or 10 within a tick of dropping to 8, well above 6, the vanilla threshold for sprinting, so the player can always sprint and never starves. After spawning or respawning, the food level starts at 20, as in vanilla; above the refill it drains as in vanilla and isn't lowered by the pack. The effect is 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 cooked foods have no vanilla food component at all: they are consumables that can always be eaten and restore no hunger (before 1.12.3 they had a food component with 0 nutrition and 0 saturation and the can_always_eat option). For example, bread instead grants  Regeneration and removes harmful effects.[3] What a food does is described by its intrinsic and its tooltip. See Food and Cooking.

Vanilla foods that still have a food component (from the Creative inventory, for example) restore food points as usual, and can't be eaten once the food level reaches 20.

Natural regeneration

Main article: Natural regeneration

Natural regeneration is turned off with a game rule, so a high food level doesn't heal the player.

Hunger effect

On Normal and Hard, the  Hunger status effect stops the player from healing: whenever a player with Hunger has  Regeneration, the Regeneration is removed, whether it was given before or after the Hunger.[4] Since food heals through a hidden Regeneration effect, eating doesn't heal until the Hunger ends. On Easy, Hunger does nothing beyond its vanilla drain on the food level, which the pack refills (above).

While the effect lasts on Normal and Hard, the action bar shows a green timer that empties as the effect runs out, with a ticking sound every second once fewer than about 50 seconds remain; when the Hunger ends, the bar turns white and the experience orb pickup sound plays.[5][6]

Hunger is in the pack's list of harmful effects, so bread, honey ginger tea and ice cream remove it, and a milk bottle clears it with every other effect.[7] Husks inflict it with their hits, as in vanilla, and some foods and items apply it as a side effect:

Source Kind Level Duration
Raw Poultry Raw Poultry Food I 0:30 (30% chance)
Pufferfish Pufferfish Food III 0:15

History

0.4-alpha Removed the "You cannot eat right now" warning.
1.12.3 The pack refills the food level at 7 or below instead of 6 or below, so it now rests at 8 or 9 instead of 7 or 8. Crafted and cooked foods lose their food component (which had 0 nutrition and 0 saturation) and are plain consumables.[8]
1.12.6-alpha The pack no longer gives Hunger to drain the food level at 10 or above, and it refills the food level at 8 or below instead of 7 or below. On Normal and Hard, the Hunger effect now removes Regeneration, so it stops healing, and shows a timer in the action bar. Bread and other foods that remove harmful effects now remove Hunger too.[9]

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.[10]
  • The developer addressed the worry that unlimited sprinting makes mobs harmless by making zombies much faster.[11]

See also

References

  1. ↑ mechanics/manage hunger.mcfunction
  2. ↑ hud/food full.png
  3. ↑ oven/bread.json
  4. ↑ regeneration/mark player.mcfunction
  5. ↑ hunger/effect.mcfunction
  6. ↑ hunger/mark player.mcfunction
  7. ↑ mob effect/harmful.json
  8. ↑ oven/bread.json
  9. ↑ regeneration/mark player.mcfunction
  10. ↑ 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."
  11. ↑ 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."