Package net.minecraft.particle
Class ItemStackParticleEffect
java.lang.Object
net.minecraft.particle.ItemStackParticleEffect
- All Implemented Interfaces:
ParticleEffect
public class ItemStackParticleEffect extends Object implements ParticleEffect
- Mappings:
Namespace Name official hi
intermediary net/minecraft/class_2392
named net/minecraft/particle/ItemStackParticleEffect
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.particle.ParticleEffect
ParticleEffect.Factory<T extends ParticleEffect>
-
Field Summary
Fields Modifier and Type Field Description static ParticleEffect.Factory<ItemStackParticleEffect>
PARAMETERS_FACTORY
private ItemStack
stack
private ParticleType<ItemStackParticleEffect>
type
-
Constructor Summary
Constructors Constructor Description ItemStackParticleEffect(ParticleType<ItemStackParticleEffect> type, ItemStack stack)
-
Method Summary
Modifier and Type Method Description String
asString()
ItemStack
getItemStack()
ParticleType<ItemStackParticleEffect>
getType()
static com.mojang.serialization.Codec<ItemStackParticleEffect>
method_29136(ParticleType<ItemStackParticleEffect> particleType)
void
write(PacketByteBuf buf)
-
Field Details
-
PARAMETERS_FACTORY
- Mappings:
Namespace Name Mixin selector official a
Lhi;a:Lhj$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
Lhi;b:Lhk;
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
- Mappings:
Namespace Name Mixin selector official c
Lhi;c:Lbnv;
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
- Mappings:
Namespace Name Mixin selector official <init>
Lhi;<init>(Lhk;Lbnv;)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
-
method_29136
public static com.mojang.serialization.Codec<ItemStackParticleEffect> method_29136(ParticleType<ItemStackParticleEffect> particleType)- Mappings:
Namespace Name Mixin selector official a
Lhi;a(Lhk;)Lcom/mojang/serialization/Codec;
intermediary method_29136
Lnet/minecraft/class_2392;method_29136(Lnet/minecraft/class_2396;)Lcom/mojang/serialization/Codec;
named method_29136
Lnet/minecraft/particle/ItemStackParticleEffect;method_29136(Lnet/minecraft/particle/ParticleType;)Lcom/mojang/serialization/Codec;
-
write
- Specified by:
write
in interfaceParticleEffect
- Mappings:
Namespace Name Mixin selector official a
Lhj;a(Lnw;)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
- Specified by:
asString
in interfaceParticleEffect
- Mappings:
Namespace Name Mixin selector official a
Lhj;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 interfaceParticleEffect
- Mappings:
Namespace Name Mixin selector official b
Lhj;b()Lhk;
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
- Mappings:
Namespace Name Mixin selector official c
Lhi;c()Lbnv;
intermediary method_10289
Lnet/minecraft/class_2392;method_10289()Lnet/minecraft/class_1799;
named getItemStack
Lnet/minecraft/particle/ItemStackParticleEffect;getItemStack()Lnet/minecraft/item/ItemStack;
-