Class FoodProperties
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.item.component.FoodProperties
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionFoodProperties(int nutrition, float saturationModifier, boolean canAlwaysEat, float eatSeconds, List<FoodProperties.PossibleEffect> effects) -
Method Summary
-
Constructor Details
-
FoodProperties
public FoodProperties(int nutrition, float saturationModifier, boolean canAlwaysEat, float eatSeconds, List<FoodProperties.PossibleEffect> effects)
-
-
Method Details
-
getNutrition
public int getNutrition() -
getSaturationModifier
public float getSaturationModifier() -
isCanAlwaysEat
public boolean isCanAlwaysEat() -
getEatSeconds
public float getEatSeconds() -
getEffects
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-