Class ParticleS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.ParticleS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/ParticleS2CPacketintermediary net/minecraft/class_2675official adt
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec<RegistryByteBuf, ParticleS2CPacket> private final intprivate final booleanprivate final booleanprivate final floatprivate final floatprivate final floatprivate final ParticleEffectprivate final floatprivate final doubleprivate final doubleprivate final double -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateParticleS2CPacket(T parameters, boolean forceSpawn, boolean important, double x, double y, double z, float offsetX, float offsetY, float offsetZ, float speed, int count) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ClientPlayPacketListener clientPlayPacketListener) intgetCount()floatfloatfloatfloatgetSpeed()doublegetX()doublegetY()doublegetZ()booleanbooleanprivate voidwrite(RegistryByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_47935Lnet/minecraft/class_2675;field_47935:Lnet/minecraft/class_9139;official aLadt;a:Lze;
-
x
private final double x- Mappings:
Namespace Name Mixin selector named xLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;x:Dintermediary field_12258Lnet/minecraft/class_2675;field_12258:Dofficial bLadt;b:D
-
y
private final double y- Mappings:
Namespace Name Mixin selector named yLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;y:Dintermediary field_12257Lnet/minecraft/class_2675;field_12257:Dofficial cLadt;c:D
-
z
private final double z- Mappings:
Namespace Name Mixin selector named zLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;z:Dintermediary field_12256Lnet/minecraft/class_2675;field_12256:Dofficial dLadt;d:D
-
offsetX
private final float offsetX- Mappings:
Namespace Name Mixin selector named offsetXLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;offsetX:Fintermediary field_12255Lnet/minecraft/class_2675;field_12255:Fofficial eLadt;e:F
-
offsetY
private final float offsetY- Mappings:
Namespace Name Mixin selector named offsetYLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;offsetY:Fintermediary field_12252Lnet/minecraft/class_2675;field_12252:Fofficial fLadt;f:F
-
offsetZ
private final float offsetZ- Mappings:
Namespace Name Mixin selector named offsetZLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;offsetZ:Fintermediary field_12251Lnet/minecraft/class_2675;field_12251:Fofficial gLadt;g:F
-
speed
private final float speed- Mappings:
Namespace Name Mixin selector named speedLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;speed:Fintermediary field_12260Lnet/minecraft/class_2675;field_12260:Fofficial hLadt;h:F
-
count
private final int count- Mappings:
Namespace Name Mixin selector named countLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;count:Iintermediary field_12253Lnet/minecraft/class_2675;field_12253:Iofficial iLadt;i:I
-
forceSpawn
private final boolean forceSpawn- Mappings:
Namespace Name Mixin selector named forceSpawnLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;forceSpawn:Zintermediary field_12254Lnet/minecraft/class_2675;field_12254:Zofficial jLadt;j:Z
-
important
private final boolean important- Mappings:
Namespace Name Mixin selector named importantLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;important:Zintermediary field_54980Lnet/minecraft/class_2675;field_54980:Zofficial kLadt;k:Z
-
parameters
- Mappings:
Namespace Name Mixin selector named parametersLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;parameters:Lnet/minecraft/particle/ParticleEffect;intermediary field_12259Lnet/minecraft/class_2675;field_12259:Lnet/minecraft/class_2394;official lLadt;l:Llx;
-
-
Constructor Details
-
ParticleS2CPacket
public ParticleS2CPacket(T parameters, boolean forceSpawn, boolean important, double x, double y, double z, float offsetX, float offsetY, float offsetZ, float speed, int count) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;<init>(Lnet/minecraft/particle/ParticleEffect;ZZDDDFFFFI)Vintermediary <init>Lnet/minecraft/class_2675;<init>(Lnet/minecraft/class_2394;ZZDDDFFFFI)Vofficial <init>Ladt;<init>(Llx;ZZDDDFFFFI)V
-
ParticleS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;<init>(Lnet/minecraft/network/RegistryByteBuf;)Vintermediary <init>Lnet/minecraft/class_2675;<init>(Lnet/minecraft/class_9129;)Vofficial <init>Ladt;<init>(Lwp;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named writeLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;write(Lnet/minecraft/network/RegistryByteBuf;)Vintermediary method_55885Lnet/minecraft/class_2675;method_55885(Lnet/minecraft/class_9129;)Vofficial aLadt;a(Lwp;)V
-
getPacketType
- Specified by:
getPacketTypein interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector named getPacketTypeLnet/minecraft/network/packet/Packet;getPacketType()Lnet/minecraft/network/packet/PacketType;intermediary method_65080Lnet/minecraft/class_2596;method_65080()Lnet/minecraft/class_9145;official aLzo;a()Lzq;
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector named applyLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)Vintermediary method_11553Lnet/minecraft/class_2675;method_11553(Lnet/minecraft/class_2602;)Vofficial aLadt;a(Lacf;)V
-
shouldForceSpawn
public boolean shouldForceSpawn()- Mappings:
Namespace Name Mixin selector named shouldForceSpawnLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;shouldForceSpawn()Zintermediary method_11552Lnet/minecraft/class_2675;method_11552()Zofficial bLadt;b()Z
-
isImportant
public boolean isImportant()- Mappings:
Namespace Name Mixin selector named isImportantLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;isImportant()Zintermediary method_65082Lnet/minecraft/class_2675;method_65082()Zofficial eLadt;e()Z
-
getX
public double getX()- Mappings:
Namespace Name Mixin selector named getXLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getX()Dintermediary method_11544Lnet/minecraft/class_2675;method_11544()Dofficial fLadt;f()D
-
getY
public double getY()- Mappings:
Namespace Name Mixin selector named getYLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getY()Dintermediary method_11547Lnet/minecraft/class_2675;method_11547()Dofficial gLadt;g()D
-
getZ
public double getZ()- Mappings:
Namespace Name Mixin selector named getZLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getZ()Dintermediary method_11546Lnet/minecraft/class_2675;method_11546()Dofficial hLadt;h()D
-
getOffsetX
public float getOffsetX()- Mappings:
Namespace Name Mixin selector named getOffsetXLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getOffsetX()Fintermediary method_11548Lnet/minecraft/class_2675;method_11548()Fofficial iLadt;i()F
-
getOffsetY
public float getOffsetY()- Mappings:
Namespace Name Mixin selector named getOffsetYLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getOffsetY()Fintermediary method_11549Lnet/minecraft/class_2675;method_11549()Fofficial jLadt;j()F
-
getOffsetZ
public float getOffsetZ()- Mappings:
Namespace Name Mixin selector named getOffsetZLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getOffsetZ()Fintermediary method_11550Lnet/minecraft/class_2675;method_11550()Fofficial kLadt;k()F
-
getSpeed
public float getSpeed()- Mappings:
Namespace Name Mixin selector named getSpeedLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getSpeed()Fintermediary method_11543Lnet/minecraft/class_2675;method_11543()Fofficial lLadt;l()F
-
getCount
public int getCount()- Mappings:
Namespace Name Mixin selector named getCountLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getCount()Iintermediary method_11545Lnet/minecraft/class_2675;method_11545()Iofficial mLadt;m()I
-
getParameters
- Mappings:
Namespace Name Mixin selector named getParametersLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getParameters()Lnet/minecraft/particle/ParticleEffect;intermediary method_11551Lnet/minecraft/class_2675;method_11551()Lnet/minecraft/class_2394;official nLadt;n()Llx;
-