Skip to content
TheIllusiveC4 edited this page Sep 19, 2017 · 2 revisions

Table of Contents

Overview

With the hunger module, you can control what hunger values a player keeps upon death and set minimum and maximum limits.

Configuration Options

Enable Hunger Module

Set to true to enable the hunger module and all of its features. This needs to be activated for the features in this module to work, regardless of their config settings.

Keep Food Level

Set to true to keep player food levels upon death. The player will respawn with the same amount of hunger as they had before.

Keep Saturation

Set to true to keep player saturation levels upon death. The player will respawn with the same amount of saturation as they had before.

Minimum Food Level

A whole number value between 0 and 20 that sets the lowest food level a player can have on respawn. Since the vanilla behavior has the player respawn with full food bar level, this value does not have any effect unless "Keep Food Level" is true.

Maximum Food Level

A whole number value between the value set in "Minimum Food Level" and 20 that sets the highest food level a player can have on respawn. This is different from "Minimum Food Level" in that this takes effect regardless of whether or not "Keep Food Level" is true. This value cannot be lower than "Minimum Food Level", but it can be the same value as "Minimum Food Level" which essentially assigns a specific food bar level to give to players on respawn.