net.minecraft.world.food

public record FoodProperties$PossibleEffect

cpr$b
net.minecraft.world.food.FoodProperties$PossibleEffect
net.minecraft.class_4174$class_9423
net.minecraft.component.type.FoodComponent$StatusEffectEntry
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
effect
f_314201_
private final float
d
probability
comp_2497
probability
f_314917_
public static final com.mojang.serialization.Codec<FoodProperties$PossibleEffect>
a
CODEC
field_49996
CODEC
f_317026_
public static final StreamCodec<RegistryFriendlyByteBuf, FoodProperties$PossibleEffect>
b
STREAM_CODEC
field_49997
PACKET_CODEC
f_317005_

Constructor summary

ModifierConstructor
public (MobEffectInstance probability, float arg1)

Method summary

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