net.minecraft.world.item.consume_effects

public record RemoveStatusEffectsConsumeEffect

implements ConsumeEffect

dci
net.minecraft.world.item.consume_effects.RemoveStatusEffectsConsumeEffect
net.minecraft.class_10137
net.minecraft.item.consume.RemoveEffectsConsumeEffect

Field summary

Modifier and TypeField
private final HolderSet<MobEffect>
c
effects
comp_3099
effects
public static final com.mojang.serialization.MapCodec<RemoveStatusEffectsConsumeEffect>
a
CODEC
field_53817
CODEC
public static final StreamCodec<RegistryFriendlyByteBuf, RemoveStatusEffectsConsumeEffect>
b
STREAM_CODEC
field_53818
PACKET_CODEC

Constructor summary

ModifierConstructor
public (Holder<MobEffect> effect)
public (HolderSet<MobEffect> arg0)

Method summary

Modifier and TypeMethod
public ConsumeEffect$Type<RemoveStatusEffectsConsumeEffect>
a()
getType()
method_62864()
getType()
public boolean
a(dip arg0, cys arg1, bwz arg2)
apply(Level arg0, ItemStack arg1, LivingEntity arg2)
method_62866(class_1937 arg0, class_1799 arg1, class_1309 arg2)
onConsume(World arg0, ItemStack arg1, LivingEntity arg2)
public HolderSet<MobEffect>
b()
effects()
comp_3099()
effects()