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: Bread
TypeMechanic

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

Main article: 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
Raw Chicken Raw Chicken Food I 0:30 (30% chance)
Pufferfish Pufferfish 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

  1. mechanics/manage hunger.mcfunction
  2. hud/food full.png
  3. oven/bread.json
  4. 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."
  5. 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."