Class FoodProperties
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.item.component.FoodProperties
-
Constructor Summary
ConstructorsConstructorDescriptionFoodProperties(int nutrition, float saturationModifier, boolean canAlwaysEat) -
Method Summary
-
Constructor Details
-
FoodProperties
public FoodProperties(int nutrition, float saturationModifier, boolean canAlwaysEat)
-
-
Method Details
-
getNutrition
public int getNutrition() -
getSaturationModifier
public float getSaturationModifier() -
isCanAlwaysEat
public boolean isCanAlwaysEat() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-