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.3

saturation = 0.5;

saturation = 1.5;