net.minecraft.world.item.consume_effects

public interface ConsumeEffect

dbb
net.minecraft.world.item.consume_effects.ConsumeEffect
net.minecraft.class_10134
net.minecraft.item.consume.ConsumeEffect
net.minecraft.world.item.consume_effects.ConsumeEffect

Field summary

Modifier and TypeField
com.mojang.serialization.Codec<ConsumeEffect>
d
CODEC
field_53808
CODEC
StreamCodec<RegistryFriendlyByteBuf, ConsumeEffect>
e
STREAM_CODEC
field_53809
PACKET_CODEC

Method summary

Modifier and TypeMethod
ConsumeEffect$Type<? extends ConsumeEffect>
a()
getType()
method_62864()
getType()
boolean
a(dhi arg0, cxp arg1, bwg arg2)
apply(Level arg0, ItemStack arg1, LivingEntity arg2)
method_62866(class_1937 arg0, class_1799 arg1, class_1309 arg2)
onConsume(World world, ItemStack stack, LivingEntity user)