net.minecraft.world.food

public class FoodData

bhy
net.minecraft.world.food.FoodData
net.minecraft.class_1702
net.minecraft.entity.player.HungerManager
net.minecraft.util.FoodStats
net.minecraft.server.v1_16_R3.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
foodTickTimer
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 saturationModifier)
func_75122_a(int arg0, float arg1)
eat(int arg0, float arg1)
public void
a(blx arg0, bmb arg1)
eat(Item arg0, ItemStack arg1)
method_7579(class_1792 arg0, class_1799 arg1)
eat(Item item, ItemStack stack)
func_221410_a(Item arg0, ItemStack arg1)
public void
a(bfw arg0)
tick(Player arg0)
method_7588(class_1657 arg0)
update(PlayerEntity player)
func_75118_a(PlayerEntity arg0)
public void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_7584(class_2487 arg0)
readNbt(NbtCompound nbt)
func_75112_a(CompoundNBT arg0)
public void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_7582(class_2487 arg0)
writeNbt(NbtCompound nbt)
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)
setSaturationLevel(float saturationLevel)
func_75119_b(float arg0)