net.minecraft.world.food

public class FoodData

bmg
net.minecraft.world.food.FoodData
net.minecraft.class_1702
net.minecraft.entity.player.HungerManager
net.minecraft.src.C_1219_
net.minecraft.world.food.FoodMetaData

Field summary

Modifier and TypeField
private int
a
foodLevel
field_7756
foodLevel
f_38696_
private float
b
saturationLevel
field_7753
foodSaturationLevel
f_38697_
private float
c
exhaustionLevel
field_7752
exhaustion
f_38698_
private int
d
tickTimer
field_7755
foodTickTimer
f_38699_
private int
e
lastFoodLevel
field_7754
prevFoodLevel
f_38700_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(int arg0, float arg1)
eat(int arg0, float arg1)
method_7585(int arg0, float arg1)
add(int food, float saturationModifier)
m_38707_(int p_38709_, float arg1)
eat(int arg0, float arg1)
public void
a(bqm arg0, bqq arg1)
eat(Item arg0, ItemStack arg1)
method_7579(class_1792 arg0, class_1799 arg1)
eat(Item item, ItemStack stack)
m_38712_(C_1381_ p_38714_, C_1391_ arg1)
public void
a(bke arg0)
tick(Player arg0)
method_7588(class_1657 arg0)
update(PlayerEntity player)
m_38710_(C_1141_ arg0)
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_7584(class_2487 arg0)
readNbt(NbtCompound nbt)
m_38715_(C_4917_ arg0)
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_7582(class_2487 arg0)
writeNbt(NbtCompound nbt)
m_38719_(C_4917_ arg0)
public int
a()
getFoodLevel()
method_7586()
getFoodLevel()
m_38702_()
getFoodLevel()
public int
b()
getLastFoodLevel()
method_35217()
getPrevFoodLevel()
m_150377_()
public boolean
c()
needsFood()
method_7587()
isNotFull()
m_38721_()
public void
a(float arg0)
addExhaustion(float arg0)
method_7583(float arg0)
addExhaustion(float exhaustion)
m_38703_(float arg0)
public float
d()
getExhaustionLevel()
method_35219()
getExhaustion()
m_150380_()
public float
e()
getSaturationLevel()
method_7589()
getSaturationLevel()
m_38722_()
getSaturationLevel()
public void
a(int arg0)
setFoodLevel(int arg0)
method_7580(int arg0)
setFoodLevel(int foodLevel)
m_38705_(int arg0)
public void
b(float arg0)
setSaturation(float arg0)
method_7581(float arg0)
setSaturationLevel(float saturationLevel)
m_38717_(float arg0)
public void
c(float arg0)
setExhaustion(float arg0)
method_35218(float arg0)
setExhaustion(float exhaustion)
m_150378_(float arg0)