Package net.minecraft.particle
Class ItemStackParticleEffect
java.lang.Object
net.minecraft.particle.ItemStackParticleEffect
- All Implemented Interfaces:
ParticleEffect
- Mappings:
Namespace Name official im
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
Modifier and TypeFieldDescriptionstatic final ParticleEffect.Factory<ItemStackParticleEffect>
private final ItemStack
private final ParticleType<ItemStackParticleEffect>
-
Constructor Summary
ConstructorDescriptionItemStackParticleEffect
(ParticleType<ItemStackParticleEffect> type, ItemStack stack) -
Method Summary
Modifier and TypeMethodDescriptionasString()
static com.mojang.serialization.Codec<ItemStackParticleEffect>
getType()
void
write
(PacketByteBuf buf)
-
Field Details
-
PARAMETERS_FACTORY
- Mappings:
Namespace Name Mixin selector official a
Lim;a:Lio$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
Lim;b:Lip;
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
Lim;c:Lcdt;
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>
Lim;<init>(Lip;Lcdt;)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
Lim;a(Lip;)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
- Specified by:
write
in interfaceParticleEffect
- Mappings:
Namespace Name Mixin selector official a
Lio;a(Lsd;)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
Lio;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
Lio;b()Lip;
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
Lim;c()Lcdt;
intermediary method_10289
Lnet/minecraft/class_2392;method_10289()Lnet/minecraft/class_1799;
named getItemStack
Lnet/minecraft/particle/ItemStackParticleEffect;getItemStack()Lnet/minecraft/item/ItemStack;
-