Item Attributes

alwaysEdible

This attribute defines whether the food item can be used if the hunger bar is full.

Examples

// Default value
// The item can also be used when the hunger bar is full.
alwaysEdible[0] = true;
// ...
alwaysEdible[31] = true;

// The item can only be used when the hunger bar isn't full.
alwaysEdible[15] = false;