Class ItemStackParticleEffect

java.lang.Object
net.minecraft.particle.ItemStackParticleEffect
All Implemented Interfaces:
ParticleEffect

public class ItemStackParticleEffect extends Object implements ParticleEffect
Mappings:
Namespace Name
named net/minecraft/particle/ItemStackParticleEffect
intermediary net/minecraft/class_2392
official lf
  • Field Details

    • ITEM_STACK_CODEC

      private static final com.mojang.serialization.Codec<ItemStack> ITEM_STACK_CODEC
      Mappings:
      Namespace Name Mixin selector
      named ITEM_STACK_CODEC Lnet/minecraft/particle/ItemStackParticleEffect;ITEM_STACK_CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_51464 Lnet/minecraft/class_2392;field_51464:Lcom/mojang/serialization/Codec;
      official a Llf;a:Lcom/mojang/serialization/Codec;
    • type

      Mappings:
      Namespace Name Mixin selector
      named type Lnet/minecraft/particle/ItemStackParticleEffect;type:Lnet/minecraft/particle/ParticleType;
      intermediary field_11193 Lnet/minecraft/class_2392;field_11193:Lnet/minecraft/class_2396;
      official b Llf;b:Lli;
    • stack

      private final ItemStack stack
      Mappings:
      Namespace Name Mixin selector
      named stack Lnet/minecraft/particle/ItemStackParticleEffect;stack:Lnet/minecraft/item/ItemStack;
      intermediary field_11192 Lnet/minecraft/class_2392;field_11192:Lnet/minecraft/class_1799;
      official c Llf;c:Lcud;
  • Constructor Details

    • ItemStackParticleEffect

      public ItemStackParticleEffect(ParticleType<ItemStackParticleEffect> type, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/particle/ItemStackParticleEffect;<init>(Lnet/minecraft/particle/ParticleType;Lnet/minecraft/item/ItemStack;)V
      intermediary <init> Lnet/minecraft/class_2392;<init>(Lnet/minecraft/class_2396;Lnet/minecraft/class_1799;)V
      official <init> Llf;<init>(Lli;Lcud;)V
  • Method Details

    • createCodec

      public static com.mojang.serialization.MapCodec<ItemStackParticleEffect> createCodec(ParticleType<ItemStackParticleEffect> type)
      Mappings:
      Namespace Name Mixin selector
      named createCodec Lnet/minecraft/particle/ItemStackParticleEffect;createCodec(Lnet/minecraft/particle/ParticleType;)Lcom/mojang/serialization/MapCodec;
      intermediary method_29136 Lnet/minecraft/class_2392;method_29136(Lnet/minecraft/class_2396;)Lcom/mojang/serialization/MapCodec;
      official a Llf;a(Lli;)Lcom/mojang/serialization/MapCodec;
    • createPacketCodec

      Mappings:
      Namespace Name Mixin selector
      named createPacketCodec Lnet/minecraft/particle/ItemStackParticleEffect;createPacketCodec(Lnet/minecraft/particle/ParticleType;)Lnet/minecraft/network/codec/PacketCodec;
      intermediary method_56178 Lnet/minecraft/class_2392;method_56178(Lnet/minecraft/class_2396;)Lnet/minecraft/class_9139;
      official b Llf;b(Lli;)Lys;
    • getType

      Specified by:
      getType in interface ParticleEffect
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/particle/ParticleEffect;getType()Lnet/minecraft/particle/ParticleType;
      intermediary method_10295 Lnet/minecraft/class_2394;method_10295()Lnet/minecraft/class_2396;
      official a Llh;a()Lli;
    • getItemStack

      public ItemStack getItemStack()
      Mappings:
      Namespace Name Mixin selector
      named getItemStack Lnet/minecraft/particle/ItemStackParticleEffect;getItemStack()Lnet/minecraft/item/ItemStack;
      intermediary method_10289 Lnet/minecraft/class_2392;method_10289()Lnet/minecraft/class_1799;
      official b Llf;b()Lcud;