net.minecraft.world.item.consume_effects

public record ApplyStatusEffectsConsumeEffect

implements ConsumeEffect

daa
net.minecraft.world.item.consume_effects.ApplyStatusEffectsConsumeEffect
net.minecraft.class_10132
net.minecraft.unmapped.C_pmcnnsvg
net.minecraft.item.consume.ApplyEffectsConsumeEffect
net.minecraft.item.ApplyEffectsComponent
net.minecraft.src.C_346099_
net.minecraft.world.item.consume_effects.ApplyStatusEffectsConsumeEffect

Field summary

Modifier and TypeField
private final List<MobEffectInstance>
c
effects
comp_3094
f_orgbvonu
effects
effects
f_348384_
private final float
f
probability
comp_3095
f_swhmiibv
probability
probability
f_348691_
public static final com.mojang.serialization.MapCodec<ApplyStatusEffectsConsumeEffect>
a
CODEC
field_53803
f_cjszbdtn
CODEC
CODEC
f_346854_
public static final StreamCodec<RegistryFriendlyByteBuf, ApplyStatusEffectsConsumeEffect>
b
STREAM_CODEC
field_53804
f_hfscgjbb
PACKET_CODEC
PACKET_CODEC
f_347150_

Constructor summary

ModifierConstructor
public (MobEffectInstance effect, float probability)
public (List<MobEffectInstance> effects)
public (MobEffectInstance effect)
public (List<MobEffectInstance> effects, float probability)

Method summary

Modifier and TypeMethod
public ConsumeEffect$Type<ApplyStatusEffectsConsumeEffect>
a()
getType()
method_62864()
m_pgvmbpze()
getType()
getType()
m_351971_()
public boolean
a(dgj arg0, cwq arg1, bvi arg2)
apply(Level arg0, ItemStack arg1, LivingEntity arg2)
method_62866(class_1937 arg0, class_1799 arg1, class_1309 arg2)
m_yvwnzfik(C_cdctfzbn arg0, C_sddaxwyk arg1, C_usxaxydn arg2)
onConsume(World arg0, ItemStack arg1, LivingEntity arg2)
apply(World arg0, ItemStack arg1, LivingEntity arg2)
m_351627_(C_1596_ p_364419_, C_1391_ p_360713_, C_524_ arg2)
public List<MobEffectInstance>
b()
effects()
comp_3094()
m_suvkrvdx()
effects()
effects()
f_348384_()
public float
c()
probability()
comp_3095()
m_begtjyfu()
probability()
probability()
f_348691_()