Class ItemStackParticleEffect

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

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

    • PARAMETERS_FACTORY

      public static final ParticleEffect.Factory<ItemStackParticleEffect> PARAMETERS_FACTORY
      Mappings:
      Namespace Name Mixin selector
      official a Lir;a:Lit$a;
      intermediary field_11191 Lnet/minecraft/class_2392;field_11191:Lnet/minecraft/class_2394$class_2395;
      named PARAMETERS_FACTORY Lnet/minecraft/particle/ItemStackParticleEffect;PARAMETERS_FACTORY:Lnet/minecraft/particle/ParticleEffect$Factory;
    • type

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

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

    • ItemStackParticleEffect

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

    • createCodec

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

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface ParticleEffect
      Mappings:
      Namespace Name Mixin selector
      official a Lit;a(Lsf;)V
      intermediary method_10294 Lnet/minecraft/class_2394;method_10294(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/particle/ParticleEffect;write(Lnet/minecraft/network/PacketByteBuf;)V
    • asString

      public String asString()
      Specified by:
      asString in interface ParticleEffect
      Mappings:
      Namespace Name Mixin selector
      official a Lit;a()Ljava/lang/String;
      intermediary method_10293 Lnet/minecraft/class_2394;method_10293()Ljava/lang/String;
      named asString Lnet/minecraft/particle/ParticleEffect;asString()Ljava/lang/String;
    • getType

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

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