net.minecraft.world.food

public class FoodProperties

cei
net.minecraft.world.food.FoodProperties
net.minecraft.class_4174
net.minecraft.item.FoodComponent
net.minecraft.src.C_1220_
net.minecraft.world.food.FoodInfo

Field summary

Modifier and TypeField
private final int
a
nutrition
field_18614
hunger
f_38723_
private final float
b
saturationModifier
field_18615
saturationModifier
f_38724_
private final boolean
c
isMeat
field_18616
meat
f_38725_
private final boolean
d
canAlwaysEat
field_18617
alwaysEdible
f_38726_
private final boolean
e
fastFood
field_18618
snack
f_38727_
private final List<com.mojang.datafixers.util.Pair<MobEffectInstance, Float>>
f
effects
field_18619
statusEffects
f_38728_

Constructor summary

ModifierConstructor
(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()
m_38744_()
public float
b()
getSaturationModifier()
method_19231()
getSaturationModifier()
m_38745_()
public boolean
c()
isMeat()
method_19232()
isMeat()
m_38746_()
public boolean
d()
canAlwaysEat()
method_19233()
isAlwaysEdible()
m_38747_()
public boolean
e()
isFastFood()
method_19234()
isSnack()
m_38748_()
public List<com.mojang.datafixers.util.Pair<MobEffectInstance, Float>>
f()
getEffects()
method_19235()
getStatusEffects()
m_38749_()