net.minecraft.world.food

public record FoodProperties$PossibleEffect

cpt$b
net.minecraft.world.food.FoodProperties$PossibleEffect
net.minecraft.class_4174$class_9423
net.minecraft.unmapped.C_cgikuact$C_uxpigugz
net.minecraft.component.type.FoodComponent$StatusEffectEntry
net.minecraft.item.FoodComponent$C_uxpigugz
net.minecraft.src.C_1220_$C_313859_
net.minecraft.world.food.FoodInfo$b

Field summary

Modifier and TypeField
private final MobEffectInstance
c
effect
comp_2496
f_lozdpqme
effect
effect
f_314201_
private final float
d
probability
comp_2497
f_yekyjltp
probability
probability
f_314917_
public static final com.mojang.serialization.Codec<FoodProperties$PossibleEffect>
a
CODEC
field_49996
f_brwolxna
CODEC
CODEC
f_317026_
public static final StreamCodec<RegistryFriendlyByteBuf, FoodProperties$PossibleEffect>
b
STREAM_CODEC
field_49997
f_eukkctzx
PACKET_CODEC
PACKET_CODEC
f_317005_

Constructor summary

ModifierConstructor
public (MobEffectInstance effect, float probability)

Method summary

Modifier and TypeMethod
public MobEffectInstance
a()
effect()
comp_2496()
m_wcwpalam()
effect()
getEffect()
m_319029_()
public float
b()
probability()
comp_2497()
m_lkfiavhd()
probability()
probability()
f_314917_()