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.consumeEffectsprivate final List<ConsumeEffect> DeathProtectionComponent.deathEffectsThe field for thedeathEffectsrecord component.private final List<ConsumeEffect> ConsumableComponent.onConsumeEffectsThe field for theonConsumeEffectsrecord component.Methods in net.minecraft.component.type that return types with arguments of type ConsumeEffectModifier and TypeMethodDescriptionDeathProtectionComponent.deathEffects()Returns the value of thedeathEffectsrecord component.ConsumableComponent.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()