net.minecraft.world.food

public class FoodData

cps
net.minecraft.world.food.FoodData
net.minecraft.class_1702
net.minecraft.unmapped.C_lvaukqjj
net.minecraft.entity.player.HungerManager
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
f_gjtpjdvl
foodLevel
foodLevel
f_38696_
private float
b
saturationLevel
field_7753
f_zeivleti
saturationLevel
foodSaturationLevel
f_38697_
private float
c
exhaustionLevel
field_7752
f_sdyzdnmj
exhaustion
exhaustion
f_38698_
private int
d
tickTimer
field_7755
f_urubumqi
foodTickTimer
foodTickTimer
f_38699_
private int
e
lastFoodLevel
field_7754
f_cannychc
prevFoodLevel
prevFoodLevel
f_38700_

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)
m_hmimlxwl(int arg0, float arg1)
addInternal(int nutrition, float saturation)
addInternal(int hunger, float saturation)
m_320067_(int p_332105_, float arg1)
public void
a(int arg0, float arg1)
eat(int arg0, float arg1)
method_7585(int arg0, float arg1)
m_frtlrvvj(int arg0, float arg1)
add(int food, float saturationModifier)
add(int hunger, float saturationModifier)
m_38707_(int p_38709_, float arg1)
public void
a(cur arg0)
eat(ItemStack arg0)
method_7579(class_1799 arg0)
m_plhdbfmw(C_sddaxwyk arg0)
eat(ItemStack stack)
add(ItemStack stack)
m_38712_(C_1391_ arg0)
public void
a(cmz arg0)
tick(Player arg0)
method_7588(class_1657 arg0)
m_icyxpyiq(C_jzrpycqo arg0)
update(PlayerEntity player)
update(PlayerEntity player)
m_38710_(C_1141_ arg0)
public void
a(us arg0)
readAdditionalSaveData(CompoundTag arg0)
method_7584(class_2487 arg0)
m_yqhpzurb(C_hhlwcnih arg0)
readNbt(NbtCompound nbt)
readNbt(NbtCompound nbt)
m_38715_(C_4917_ arg0)
public void
b(us arg0)
addAdditionalSaveData(CompoundTag arg0)
method_7582(class_2487 arg0)
m_reckmcfi(C_hhlwcnih arg0)
writeNbt(NbtCompound nbt)
writeNbt(NbtCompound nbt)
m_38719_(C_4917_ arg0)
public int
a()
getFoodLevel()
method_7586()
m_rwnfoovq()
getFoodLevel()
getFoodLevel()
m_38702_()
public int
b()
getLastFoodLevel()
method_35217()
m_hbovcxyx()
getPrevFoodLevel()
getPrevFoodLevel()
m_150377_()
public boolean
c()
needsFood()
method_7587()
m_etwfogec()
isNotFull()
isNotFull()
m_38721_()
public void
a(float arg0)
addExhaustion(float arg0)
method_7583(float arg0)
m_kxibqers(float arg0)
addExhaustion(float exhaustion)
addExhaustion(float exhaustion)
m_38703_(float arg0)
public float
d()
getExhaustionLevel()
method_35219()
m_ilwsbruf()
getExhaustion()
getExhaustion()
m_150380_()
public float
e()
getSaturationLevel()
method_7589()
m_xwlaexnt()
getSaturationLevel()
getSaturationLevel()
m_38722_()
public void
a(int arg0)
setFoodLevel(int arg0)
method_7580(int arg0)
m_kwdcztwr(int arg0)
setFoodLevel(int foodLevel)
setFoodLevel(int foodLevel)
m_38705_(int arg0)
public void
b(float arg0)
setSaturation(float arg0)
method_7581(float arg0)
m_mobcogsa(float arg0)
setSaturationLevel(float saturationLevel)
setSaturationLevel(float saturationLevel)
m_38717_(float arg0)
public void
c(float arg0)
setExhaustion(float arg0)
method_35218(float arg0)
m_njswlfvg(float arg0)
setExhaustion(float exhaustion)
setExhaustion(float exhaustion)
m_150378_(float arg0)