Uses of Interface
net.minecraft.item.consume.ConsumeEffect
Packages that use ConsumeEffect
Package
Description
The base package for all Minecraft classes.
-
Uses of ConsumeEffect in net.minecraft
Fields in net.minecraft with type parameters of type ConsumeEffectModifier and TypeFieldDescriptionprivate final List<ConsumeEffect> class_10216.deathEffectsThe field for thedeathEffectsrecord component.Methods in net.minecraft that return types with arguments of type ConsumeEffectModifier and TypeMethodDescriptionclass_10216.deathEffects()Returns the value of thedeathEffectsrecord component.Constructor parameters in net.minecraft with type arguments of type ConsumeEffect -
Uses of ConsumeEffect in net.minecraft.component.type
Fields in net.minecraft.component.type with type parameters of type ConsumeEffectModifier and TypeFieldDescriptionprivate final List<ConsumeEffect> ConsumableComponent.Builder.consumeEffectsprivate final List<ConsumeEffect> ConsumableComponent.onConsumeEffectsThe field for theonConsumeEffectsrecord component.Methods in net.minecraft.component.type that return types with arguments of type ConsumeEffectModifier and TypeMethodDescriptionConsumableComponent.onConsumeEffects()Returns the value of theonConsumeEffectsrecord component.Methods in net.minecraft.component.type with parameters of type ConsumeEffectModifier and TypeMethodDescriptionConsumableComponent.Builder.consumeEffect(ConsumeEffect consumeEffect) Constructor parameters in net.minecraft.component.type with type arguments of type ConsumeEffectModifierConstructorDescriptionConsumableComponent(float float2, UseAction useAction, RegistryEntry<SoundEvent> registryEntry, boolean bool, List<ConsumeEffect> list) -
Uses of ConsumeEffect in net.minecraft.item.consume
Classes in net.minecraft.item.consume with type parameters of type ConsumeEffectClasses in net.minecraft.item.consume that implement ConsumeEffectModifier and TypeClassDescriptionfinal recordfinal recordfinal recordfinal recordfinal recordFields in net.minecraft.item.consume with type parameters of type ConsumeEffectModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ConsumeEffect> ConsumeEffect.CODECstatic final PacketCodec<RegistryByteBuf, ConsumeEffect> ConsumeEffect.PACKET_CODECMethods in net.minecraft.item.consume with type parameters of type ConsumeEffectModifier and TypeMethodDescriptionprivate static <T extends ConsumeEffect>
ConsumeEffect.Type<T> ConsumeEffect.Type.register(String id, com.mojang.serialization.MapCodec<T> codec, PacketCodec<RegistryByteBuf, T> packetCodec) Methods in net.minecraft.item.consume that return types with arguments of type ConsumeEffectModifier and TypeMethodDescriptionConsumeEffect.Type<? extends ConsumeEffect> ConsumeEffect.getType()