net.minecraft.world.food

public class FoodData

csy
net.minecraft.world.food.FoodData
net.minecraft.class_1702
net.minecraft.entity.player.HungerManager
net.minecraft.world.food.FoodMetaData

Field summary

Modifier and TypeField
private int
a
foodLevel
field_7756
foodLevel
private float
b
saturationLevel
field_7753
saturationLevel
private float
c
exhaustionLevel
field_7752
exhaustion
private int
d
tickTimer
field_7755
foodTickTimer

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private void
b(int arg0, float arg1)
add(int arg0, float arg1)
method_59684(int arg0, float arg1)
addInternal(int nutrition, float saturation)
public void
a(int arg0, float arg1)
eat(int arg0, float arg1)
method_7585(int arg0, float arg1)
add(int food, float saturationModifier)
public void
a(csz arg0)
eat(FoodProperties arg0)
method_7579(class_4174 arg0)
eat(FoodComponent foodComponent)
public void
a(asi arg0)
tick(ServerPlayer arg0)
method_7588(class_3222 arg0)
update(ServerPlayerEntity player)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_7584(class_2487 arg0)
readNbt(NbtCompound nbt)
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_7582(class_2487 arg0)
writeNbt(NbtCompound nbt)
public int
a()
getFoodLevel()
method_7586()
getFoodLevel()
public boolean
b()
needsFood()
method_7587()
isNotFull()
public void
a(float arg0)
addExhaustion(float arg0)
method_7583(float arg0)
addExhaustion(float exhaustion)
public float
c()
getSaturationLevel()
method_7589()
getSaturationLevel()
public void
a(int arg0)
setFoodLevel(int arg0)
method_7580(int arg0)
setFoodLevel(int foodLevel)
public void
b(float arg0)
setSaturation(float arg0)
method_7581(float arg0)
setSaturationLevel(float saturationLevel)