net.minecraft.entity.living.player

public class HungerManager

aas
net.minecraft.class_1001
net.minecraft.entity.living.player.HungerManager
net.minecraft.util.FoodStats

Field summary

Modifier and TypeField
private int
a
field_4081
foodLevel
foodLevel
private float
b
field_4082
saturationLevel
foodSaturationLevel
private float
c
field_4083
exhaustion
foodExhaustionLevel
private int
d
field_4084
starvationTimer
foodTimer
private int
e
field_4085
lastFoodLevel
prevFoodLevel

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(int arg0, float arg1)
method_3241(int arg0, float arg1)
add(int food, float saturation)
addStats(int foodLevelIn, float foodSaturationModifier)
public void
a(adk arg0, adq arg1)
method_3244(class_1065 arg0, class_1071 arg1)
add(FoodItem food, ItemStack item)
addStats(ItemFood foodItem, ItemStack stack)
public void
a(zj arg0)
method_3243(class_988 arg0)
tick(PlayerEntity player)
onUpdate(EntityPlayer player)
public void
a(dq arg0)
method_3242(class_322 arg0)
readNbt(NbtCompound nbt)
readNBT(NBTTagCompound compound)
public void
b(dq arg0)
method_3247(class_322 arg0)
writeNbt(NbtCompound nbt)
writeNBT(NBTTagCompound compound)
public int
a()
method_3238()
getFoodLevel()
getFoodLevel()
public boolean
c()
method_3248()
needsFood()
needFood()
public void
a(float arg0)
method_3239(float arg0)
addExhaustion(float exhaustion)
addExhaustion(float exhaustion)
public float
e()
method_3249()
getSaturationLevel()
getSaturationLevel()
public void
a(int arg0)
method_3240(int arg0)
setFoodLevel(int foodLevel)
setFoodLevel(int foodLevelIn)
public int
b()
method_3245()
getLastFoodLevel()
getPrevFoodLevel()
public void
b(float arg0)
method_3246(float arg0)
setSaturationLevel(float saturationLevel)
setFoodSaturationLevel(float foodSaturationLevelIn)