Package net.minecraft.world.food
Class FoodConstants
java.lang.Object
net.minecraft.world.food.FoodConstants
-
Field Summary
Modifier and TypeFieldDescriptionstatic final float
static final float
static final float
static final float
static final float
static final float
static final float
static final float
static final float
static final float
static final float
static final float
static final float
static final float
static final float
static final float
static final int
static final int
static final int
static final int
static final float
static final float
static final int
static final float
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic float
saturationByModifier
(int p_341087_, float p_340877_)
-
Field Details
-
MAX_FOOD
public static final int MAX_FOOD- See Also:
-
MAX_SATURATION
public static final float MAX_SATURATION- See Also:
-
START_SATURATION
public static final float START_SATURATION- See Also:
-
SATURATION_FLOOR
public static final float SATURATION_FLOOR- See Also:
-
EXHAUSTION_DROP
public static final float EXHAUSTION_DROP- See Also:
-
HEALTH_TICK_COUNT
public static final int HEALTH_TICK_COUNT- See Also:
-
HEALTH_TICK_COUNT_SATURATED
public static final int HEALTH_TICK_COUNT_SATURATED- See Also:
-
HEAL_LEVEL
public static final int HEAL_LEVEL- See Also:
-
SPRINT_LEVEL
public static final int SPRINT_LEVEL- See Also:
-
STARVE_LEVEL
public static final int STARVE_LEVEL- See Also:
-
FOOD_SATURATION_POOR
public static final float FOOD_SATURATION_POOR- See Also:
-
FOOD_SATURATION_LOW
public static final float FOOD_SATURATION_LOW- See Also:
-
FOOD_SATURATION_NORMAL
public static final float FOOD_SATURATION_NORMAL- See Also:
-
FOOD_SATURATION_GOOD
public static final float FOOD_SATURATION_GOOD- See Also:
-
FOOD_SATURATION_MAX
public static final float FOOD_SATURATION_MAX- See Also:
-
FOOD_SATURATION_SUPERNATURAL
public static final float FOOD_SATURATION_SUPERNATURAL- See Also:
-
EXHAUSTION_HEAL
public static final float EXHAUSTION_HEAL- See Also:
-
EXHAUSTION_JUMP
public static final float EXHAUSTION_JUMP- See Also:
-
EXHAUSTION_SPRINT_JUMP
public static final float EXHAUSTION_SPRINT_JUMP- See Also:
-
EXHAUSTION_MINE
public static final float EXHAUSTION_MINE- See Also:
-
EXHAUSTION_ATTACK
public static final float EXHAUSTION_ATTACK- See Also:
-
EXHAUSTION_WALK
public static final float EXHAUSTION_WALK- See Also:
-
EXHAUSTION_CROUCH
public static final float EXHAUSTION_CROUCH- See Also:
-
EXHAUSTION_SPRINT
public static final float EXHAUSTION_SPRINT- See Also:
-
EXHAUSTION_SWIM
public static final float EXHAUSTION_SWIM- See Also:
-
-
Constructor Details
-
FoodConstants
public FoodConstants()
-
-
Method Details
-
saturationByModifier
public static float saturationByModifier(int p_341087_, float p_340877_)
-