Its initial value on world creation or respawn is 5. Its maximum value always equals foodLevel's value and decreases with foodLevel. foodSaturationLevel: The player's current saturation level, which determines how fast foodLevel depletes and is controlled by the kinds of food the player has eaten.Its initial value on world creation or respawn is 20 ( × 10). foodLevel: The player's current hunger level, shown on the hunger bar.The hunger system utilizes four variables to control players' abilities, the values of which are stored in the player.dat format: A husk can also give the player the Hunger effect upon being attacked by one. These foods are pufferfish, raw chicken (30% chance), and rotten flesh (80% chance). How exactly they control the overall hunger value is described in more depth in the Mechanics section.Ĭertain foods have a chance of inflicting the Hunger effect on the player upon consumption, causing the player's food bar to deplete faster and turn a yellow-green color ( ). There is also a food exhaustion value that controls the decreasing of the food saturation level. It depends on what the player has eaten last. The hunger value does not drain on Peaceful difficulty, and regenerates if it is not at the maximum value.Īn important aspect of hunger not shown on the hunger bar is called food saturation, which controls the decreasing of the hunger value. The specific effects are described in the Effects of hunger section. If the hunger bar is at zero, the player's health depletes. If it falls to 6 ( ), the player loses the ability to sprint. When hunger is at 18 ( ), the player's health regenerates. Various levels of a player's hunger control health regeneration (or depletion) and the ability to sprint. It is replenished by eating food, and decreased by a player's actions, such as sprinting, digging or attacking. One half of a drumstick ( ) represents one hunger point or half-unit of hunger, thus the full bar consists of twenty hunger points. The player's hunger value is shown on the heads-up display in the form of a hunger bar (or food bar), which is similar to the health bar (located above the hotbar), located opposite to it and represented by ten drumsticks ( × 10).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |