net.minecraft.world.food

public class FoodProperties

bhw
net.minecraft.world.food.FoodProperties
net.minecraft.class_4174
net.minecraft.item.FoodComponent
net.minecraft.item.Food
net.minecraft.server.v1_16_R2.FoodInfo

Field summary

Modifier and TypeField
private final int
a
nutrition
field_18614
hunger
field_221470_a
private final float
b
saturationModifier
field_18615
saturationModifier
field_221471_b
private final boolean
c
isMeat
field_18616
meat
field_221472_c
private final boolean
d
canAlwaysEat
field_18617
alwaysEdible
field_221473_d
private final boolean
e
fastFood
field_18618
snack
field_221474_e
private final List<com.mojang.datafixers.util.Pair<MobEffectInstance, Float>>
f
effects
field_18619
statusEffects
field_221475_f

Constructor summary

ModifierConstructor
private (int hunger, float saturationModifier, boolean meat, boolean alwaysEdible, boolean snack, List<com.mojang.datafixers.util.Pair<MobEffectInstance, Float>> statusEffects)

Method summary

Modifier and TypeMethod
public int
a()
getNutrition()
method_19230()
getHunger()
func_221466_a()
getNutrition()
public float
b()
getSaturationModifier()
method_19231()
getSaturationModifier()
func_221469_b()
getSaturationModifier()
public boolean
c()
isMeat()
method_19232()
isMeat()
func_221467_c()
public boolean
d()
canAlwaysEat()
method_19233()
isAlwaysEdible()
func_221468_d()
public boolean
e()
isFastFood()
method_19234()
isSnack()
func_221465_e()
public List<com.mojang.datafixers.util.Pair<MobEffectInstance, Float>>
f()
getEffects()
method_19235()
getStatusEffects()
func_221464_f()