Item Attributes

hunger

This attribute is for food only. It defines how many half hunger sticks are added to the player's hunger bar when eaten.

Examples

// Default value
hunger = 2;

hunger = 8;