-
Specifies that a food item can be eaten when the current hunger bar is full.
FoodComponents.create(int hunger)
FoodComponent.Builder.hunger(int hunger)
Specifies the amount of hunger a food item will fill.
FoodComponent.Builder.meat()
Specifies that a food item can be fed to dogs.
Specifies the saturation modifier of a food item.
FoodComponent.Builder.snack()
Specifies that a food item is snack-like and is eaten quickly.
Specifies a status effect to apply to an entity when a food item is consumed.