net.minecraft.world.food

public class FoodProperties$Builder

cpr$a
net.minecraft.world.food.FoodProperties$Builder
net.minecraft.class_4174$class_4175
net.minecraft.component.type.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
nutrition
f_38750_
private float
b
saturationModifier
field_18621
saturationModifier
f_38751_
private boolean
c
canAlwaysEat
field_18623
canAlwaysEat
f_38753_
private float
d
eatSeconds
field_49995
eatSeconds
f_316145_
private Optional<ItemStack>
e
usingConvertsTo
field_51895
usingConvertsTo
f_337517_
private final com.google.common.collect.ImmutableList$Builder<FoodProperties$PossibleEffect>
f
effects
field_18625
effects
f_38755_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public FoodProperties$Builder
a(int arg0)
nutrition(int arg0)
method_19238(int arg0)
nutrition(int nutrition)
m_38760_(int arg0)
public FoodProperties$Builder
a(float arg0)
saturationModifier(float arg0)
method_19237(float arg0)
saturationModifier(float saturationModifier)
m_38758_(float arg0)
public FoodProperties$Builder
a()
alwaysEdible()
method_19240()
alwaysEdible()
m_38765_()
public FoodProperties$Builder
b()
fast()
method_19241()
snack()
m_38766_()
public FoodProperties$Builder
a(brz 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$Builder
a(dcv arg0)
usingConvertsTo(ItemLike arg0)
method_60500(class_1935 arg0)
usingConvertsTo(ItemConvertible item)
m_338825_(C_1595_ arg0)
public FoodProperties
c()
build()
method_19242()
build()
m_38767_()