net.minecraft.world.food

public class FoodProperties$Builder

cei$a
net.minecraft.world.food.FoodProperties$Builder
net.minecraft.class_4174$class_4175
net.minecraft.item.FoodComponent$Builder
net.minecraft.src.C_1220_$C_1222_
net.minecraft.world.food.FoodInfo$a

Field summary

Modifier and TypeField
private int
a
nutrition
field_18620
hunger
f_38750_
private float
b
saturationModifier
field_18621
saturationModifier
f_38751_
private boolean
c
isMeat
field_18622
meat
f_38752_
private boolean
d
canAlwaysEat
field_18623
alwaysEdible
f_38753_
private boolean
e
fastFood
field_18624
snack
f_38754_
private final List<com.mojang.datafixers.util.Pair<MobEffectInstance, Float>>
f
effects
field_18625
statusEffects
f_38755_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public FoodProperties$Builder
a(int arg0)
nutrition(int arg0)
method_19238(int arg0)
hunger(int hunger)
m_38760_(int arg0)
public FoodProperties$Builder
a(float arg0)
saturationMod(float arg0)
method_19237(float arg0)
saturationModifier(float saturationModifier)
m_38758_(float arg0)
public FoodProperties$Builder
a()
meat()
method_19236()
meat()
m_38757_()
public FoodProperties$Builder
b()
alwaysEat()
method_19240()
alwaysEdible()
m_38765_()
public FoodProperties$Builder
c()
fast()
method_19241()
snack()
m_38766_()
public FoodProperties$Builder
a(bid arg0, float arg1)
effect(MobEffectInstance arg0, float arg1)
method_19239(class_1293 arg0, float arg1)
statusEffect(StatusEffectInstance effect, float chance)
m_38762_(C_498_ p_38764_, float arg1)
public FoodProperties
d()
build()
method_19242()
build()
m_38767_()