Uses of Interface
io.papermc.paper.datacomponent.item.FoodProperties.Builder
-
Uses of FoodProperties.Builder in io.papermc.paper.datacomponent.item
Modifier and TypeMethodDescriptionFoodProperties.Builder.canAlwaysEat
(boolean canAlwaysEat) Set if this food can always be eaten, even if the player is not hungry.static FoodProperties.Builder
FoodProperties.food()
FoodProperties.Builder.nutrition
(@org.checkerframework.checker.index.qual.NonNegative int nutrition) Sets the nutrition of the food.FoodProperties.Builder.saturation
(float saturation) Sets the saturation of the food.