Item Attributes

saturation

This attribute defines the saturation of the food item. The more saturation a player has, the longer the player doesn't lose any hunger.

Examples

// Default value
saturation[0] = 0.3
// ...
saturation[31] = 0.3

saturation[5] = 0.5;

saturation[19] = 1.5;