Interface ConsumeEffect

All Known Implementing Classes:
ApplyEffectsConsumeEffect, ClearAllEffectsConsumeEffect, PlaySoundConsumeEffect, RemoveEffectsConsumeEffect, TeleportRandomlyConsumeEffect

public interface ConsumeEffect
Mappings:
Namespace Name
named net/minecraft/item/consume/ConsumeEffect
intermediary net/minecraft/class_10134
official dba
  • Field Details

    • CODEC

      static final com.mojang.serialization.Codec<ConsumeEffect> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/item/consume/ConsumeEffect;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_53808 Lnet/minecraft/class_10134;field_53808:Lcom/mojang/serialization/Codec;
      official d Ldba;d:Lcom/mojang/serialization/Codec;
    • PACKET_CODEC

      static final PacketCodec<RegistryByteBuf,ConsumeEffect> PACKET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named PACKET_CODEC Lnet/minecraft/item/consume/ConsumeEffect;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_53809 Lnet/minecraft/class_10134;field_53809:Lnet/minecraft/class_9139;
      official e Ldba;e:Lzt;
  • Method Details

    • getType

      ConsumeEffect.Type<? extends ConsumeEffect> getType()
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/item/consume/ConsumeEffect;getType()Lnet/minecraft/item/consume/ConsumeEffect$Type;
      intermediary method_62864 Lnet/minecraft/class_10134;method_62864()Lnet/minecraft/class_10134$class_10135;
      official a Ldba;a()Ldba$a;
    • onConsume

      boolean onConsume(World world, ItemStack stack, LivingEntity user)
      Mappings:
      Namespace Name Mixin selector
      named onConsume Lnet/minecraft/item/consume/ConsumeEffect;onConsume(Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/LivingEntity;)Z
      intermediary method_62866 Lnet/minecraft/class_10134;method_62866(Lnet/minecraft/class_1937;Lnet/minecraft/class_1799;Lnet/minecraft/class_1309;)Z
      official a Ldba;a(Ldhh;Lcxo;Lbwf;)Z