Unless you’re playing in Creative or Peaceful mode, food is kind of a big deal in Minecraft. In standard Survival mode, you need to eat enough food to keep your hunger bar full, or else you won’t naturally regenerate health. You’ll also actually lose health if you don’t eat, up to a point. This can be downright fatal in Hardcore mode, where many players have starved to death during their first night before they can secure a food source. The Hunger Strike mod is perfect for people who are sick and tired of stuffing their faces just to stay alive.
While the Hunger Strike mod doesn’t do away with the food bar, that’s a good thing when you realize what it does, specifically. By keeping the bar locked at half capacity, players are still able to spring and move quickly, but the natural HP regeneration is disabled. Instead of waiting for it to refill slowly, players can restore lost health in seconds by eating food like normal. Some special effects, like hunger and regeneration, can shrink or expand the size of the hunger bar, which could turn off sprinting or turn on natural regeneration, depending on the direction.
Basically, you’ll get half as many health points as the number of hunger points a food item would normally give you. If you eat a cooked pork chop, which would normally give back 4 hunger points, it will restore 2 full hearts of health instead. Cookies, which give only a single food point, will restore an equally measly half a heart. This means food items like rabbit stew, which would normally max out your food bar in one feeding, are now the strongest healing potions in the game. It takes a little getting used to, but the Hunger Strike mod makes Minecraft play a significantly different game. It’s not bad.
Features
The hunger bar is fixed at half capacity. This allows sprinting and disables health regen.
If the player is afflicted with the “hunger” effect, their hunger bar will drop below the sprint threshold.
If the player is afflicted with the “regeneration” effect, their hunger bar will max out.
Eating food will instantly restore health at half the food value of a given food item (configurable). E.g., a cookie will restore a half heart. A cooked porkchop will restore 2 hearts.
Optionally hide the hunger bar.
Optionally change the stack size of food.
Configuration:
The mod will create a configuration file ‘hungerstrike.cfg’.
Mode: How the mod is applied to players. Acceptable values are NONE, LIST, and ALL. The default is ALL.
NONE: Hunger strike is disabled for all players.
LIST: Hunger strike is enabled only for players added in-game with the /hungerstrike command.
ALL: Hunger strike is enabled for all players.
FoodHealFactor: How to translate food points into heart points when consuming food. At the default value of 0.5, food fills your heart bar at half the rate it would fill the hunger.
MaxFoodStackSize: Globally overrides the maximum stack size of food items. It affects all Vanilla and Mod food items that derive from ItemFood. Set to -1 to retain the default stack size of each food item. Note: This will affect the entire server, not just players on hunger strikes. The default is -1.
HideHungerBar: Controls whether or not the hunger bar is hidden for players on hunger strike. If the hunger bar is left visible, it will remain filled at half capacity, except when certain potion effects are active, like hunger and regeneration. The default is true.
HungerBaseline: The default hunger level when no status effects are active. The valid range is [1 – 20], with 20 being fully filled and 10 being half-filled. The default value is 10, which disables health regen but allows sprinting.
The configuration can be modified in-game via commands and directly editing the file.
Commands:
The mod comes with commands to manage players and affect mode. These commands are op-level.
/hungerstrike
/hungerstrike add <player>: Enable hunger strike for the given player (if the mode is LIST)
/hungerstrike remove <player>: Disable hunger strike for the given player (if the mode is LIST)
/hungerstrike list: List all players whose hunger strike is enabled for