net.minecraft.world.food

public class FoodData

bag
net.minecraft.world.food.FoodData
net.minecraft.class_1702
net.minecraft.entity.player.HungerManager
net.minecraft.util.FoodStats
net.minecraft.server.v1_15_R1.FoodMetaData

Field summary

Modifier and TypeField
private int
a
foodLevel
field_7756
foodLevel
field_75127_a
foodLevel
private float
b
saturationLevel
field_7753
foodSaturationLevel
field_75125_b
saturationLevel
private float
c
exhaustionLevel
field_7752
exhaustion
field_75126_c
exhaustionLevel
private int
d
tickTimer
field_7755
foodStarvationTimer
field_75123_d
foodTickTimer
private int
e
lastFoodLevel
field_7754
prevFoodLevel
field_75124_e

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 arg1)
func_75122_a(int arg0, float arg1)
eat(int arg0, float arg1)
public void
a(bef arg0, bek arg1)
eat(Item arg0, ItemStack arg1)
method_7579(class_1792 arg0, class_1799 arg1)
eat(Item arg0, ItemStack arg1)
func_221410_a(Item arg0, ItemStack arg1)
public void
a(ayg arg0)
tick(Player arg0)
method_7588(class_1657 arg0)
update(PlayerEntity arg0)
func_75118_a(PlayerEntity arg0)
public void
a(jt arg0)
readAdditionalSaveData(CompoundTag arg0)
method_7584(class_2487 arg0)
deserialize(CompoundTag arg0)
func_75112_a(CompoundNBT arg0)
public void
b(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_7582(class_2487 arg0)
serialize(CompoundTag arg0)
func_75117_b(CompoundNBT arg0)
public int
a()
getFoodLevel()
method_7586()
getFoodLevel()
func_75116_a()
getFoodLevel()
public boolean
c()
needsFood()
method_7587()
isNotFull()
func_75121_c()
public void
a(float arg0)
addExhaustion(float arg0)
method_7583(float arg0)
addExhaustion(float exhaustion)
func_75113_a(float arg0)
public float
e()
getSaturationLevel()
method_7589()
getSaturationLevel()
func_75115_e()
getSaturationLevel()
public void
a(int arg0)
setFoodLevel(int arg0)
method_7580(int arg0)
setFoodLevel(int foodLevel)
func_75114_a(int arg0)
public void
b(float arg0)
setSaturation(float arg0)
method_7581(float arg0)
setSaturationLevelClient(float saturationLevel)
func_75119_b(float arg0)