Package net.minecraft.particle
Class ItemStackParticleEffect
java.lang.Object
net.minecraft.particle.ItemStackParticleEffect
- All Implemented Interfaces:
ParticleEffect
- Mappings:
Namespace Name named net/minecraft/particle/ItemStackParticleEffect
intermediary net/minecraft/class_2392
official li
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<ItemStack> private final ItemStack
private final ParticleType
<ItemStackParticleEffect> -
Constructor Summary
ConstructorDescriptionItemStackParticleEffect
(ParticleType<ItemStackParticleEffect> type, ItemStack stack) -
Method Summary
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<ItemStackParticleEffect> static PacketCodec
<? super RegistryByteBuf, ItemStackParticleEffect> getType()
-
Field Details
-
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
Lli;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
Lli;b:Lll;
-
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
Lli;c:Lcuo;
-
-
Constructor Details
-
ItemStackParticleEffect
- 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>
Lli;<init>(Lll;Lcuo;)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
Lli;a(Lll;)Lcom/mojang/serialization/MapCodec;
-
createPacketCodec
public static PacketCodec<? super RegistryByteBuf,ItemStackParticleEffect> createPacketCodec(ParticleType<ItemStackParticleEffect> type) - 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
Lli;b(Lll;)Lyw;
-
getType
- Specified by:
getType
in interfaceParticleEffect
- 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
Llk;a()Lll;
-
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
Lli;b()Lcuo;
-