Uses of Interface
net.minecraft.item.consume.ConsumeEffect
Packages that use 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.consumeEffects
private final List
<ConsumeEffect> DeathProtectionComponent.deathEffects
The field for thedeathEffects
record component.private final List
<ConsumeEffect> ConsumableComponent.onConsumeEffects
The field for theonConsumeEffects
record component.Methods in net.minecraft.component.type that return types with arguments of type ConsumeEffectModifier and TypeMethodDescriptionDeathProtectionComponent.deathEffects()
Returns the value of thedeathEffects
record component.ConsumableComponent.onConsumeEffects()
Returns the value of theonConsumeEffects
record 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 record
final record
final record
final record
final record
Fields in net.minecraft.item.consume with type parameters of type ConsumeEffectModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ConsumeEffect> ConsumeEffect.CODEC
static final PacketCodec
<RegistryByteBuf, ConsumeEffect> ConsumeEffect.PACKET_CODEC
Methods 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()