Class ParticleS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.ParticleS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class ParticleS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official qn
intermediary net/minecraft/class_2675
named net/minecraft/network/packet/s2c/play/ParticleS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private int
count
private boolean
longDistance
private float
offsetX
private float
offsetY
private float
offsetZ
private ParticleEffect
parameters
private float
speed
private double
x
private double
y
private double
z
-
Constructor Summary
Constructors Constructor Description ParticleS2CPacket()
ParticleS2CPacket(T parameters, boolean longDistance, double x, double y, double z, float offsetX, float offsetY, float offsetZ, float speed, int count)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
int
getCount()
float
getOffsetX()
float
getOffsetY()
float
getOffsetZ()
ParticleEffect
getParameters()
float
getSpeed()
double
getX()
double
getY()
double
getZ()
boolean
isLongDistance()
void
read(PacketByteBuf buf)
private <T extends ParticleEffect>
TreadParticleParameters(PacketByteBuf buf, ParticleType<T> type)
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
x
private double x- Mappings:
Namespace Name Mixin selector official a
Lqn;a:D
intermediary field_12258
Lnet/minecraft/class_2675;field_12258:D
named x
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;x:D
-
y
private double y- Mappings:
Namespace Name Mixin selector official b
Lqn;b:D
intermediary field_12257
Lnet/minecraft/class_2675;field_12257:D
named y
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;y:D
-
z
private double z- Mappings:
Namespace Name Mixin selector official c
Lqn;c:D
intermediary field_12256
Lnet/minecraft/class_2675;field_12256:D
named z
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;z:D
-
offsetX
private float offsetX- Mappings:
Namespace Name Mixin selector official d
Lqn;d:F
intermediary field_12255
Lnet/minecraft/class_2675;field_12255:F
named offsetX
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;offsetX:F
-
offsetY
private float offsetY- Mappings:
Namespace Name Mixin selector official e
Lqn;e:F
intermediary field_12252
Lnet/minecraft/class_2675;field_12252:F
named offsetY
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;offsetY:F
-
offsetZ
private float offsetZ- Mappings:
Namespace Name Mixin selector official f
Lqn;f:F
intermediary field_12251
Lnet/minecraft/class_2675;field_12251:F
named offsetZ
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;offsetZ:F
-
speed
private float speed- Mappings:
Namespace Name Mixin selector official g
Lqn;g:F
intermediary field_12260
Lnet/minecraft/class_2675;field_12260:F
named speed
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;speed:F
-
count
private int count- Mappings:
Namespace Name Mixin selector official h
Lqn;h:I
intermediary field_12253
Lnet/minecraft/class_2675;field_12253:I
named count
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;count:I
-
longDistance
private boolean longDistance- Mappings:
Namespace Name Mixin selector official i
Lqn;i:Z
intermediary field_12254
Lnet/minecraft/class_2675;field_12254:Z
named longDistance
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;longDistance:Z
-
parameters
- Mappings:
Namespace Name Mixin selector official j
Lqn;j:Lhj;
intermediary field_12259
Lnet/minecraft/class_2675;field_12259:Lnet/minecraft/class_2394;
named parameters
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;parameters:Lnet/minecraft/particle/ParticleEffect;
-
-
Constructor Details
-
ParticleS2CPacket
public ParticleS2CPacket() -
ParticleS2CPacket
public ParticleS2CPacket(T parameters, boolean longDistance, double x, double y, double z, float offsetX, float offsetY, float offsetZ, float speed, int count)- Mappings:
Namespace Name Mixin selector official <init>
Lqn;<init>(Lhj;ZDDDFFFFI)V
intermediary <init>
Lnet/minecraft/class_2675;<init>(Lnet/minecraft/class_2394;ZDDDFFFFI)V
named <init>
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;<init>(Lnet/minecraft/particle/ParticleEffect;ZDDDFFFFI)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
readParticleParameters
private <T extends ParticleEffect> T readParticleParameters(PacketByteBuf buf, ParticleType<T> type)- Mappings:
Namespace Name Mixin selector official a
Lqn;a(Lnw;Lhk;)Lhj;
intermediary method_11542
Lnet/minecraft/class_2675;method_11542(Lnet/minecraft/class_2540;Lnet/minecraft/class_2396;)Lnet/minecraft/class_2394;
named readParticleParameters
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;readParticleParameters(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/particle/ParticleType;)Lnet/minecraft/particle/ParticleEffect;
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
isLongDistance
- Mappings:
Namespace Name Mixin selector official b
Lqn;b()Z
intermediary method_11552
Lnet/minecraft/class_2675;method_11552()Z
named isLongDistance
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;isLongDistance()Z
-
getX
- Mappings:
Namespace Name Mixin selector official c
Lqn;c()D
intermediary method_11544
Lnet/minecraft/class_2675;method_11544()D
named getX
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getX()D
-
getY
- Mappings:
Namespace Name Mixin selector official d
Lqn;d()D
intermediary method_11547
Lnet/minecraft/class_2675;method_11547()D
named getY
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getY()D
-
getZ
- Mappings:
Namespace Name Mixin selector official e
Lqn;e()D
intermediary method_11546
Lnet/minecraft/class_2675;method_11546()D
named getZ
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getZ()D
-
getOffsetX
- Mappings:
Namespace Name Mixin selector official f
Lqn;f()F
intermediary method_11548
Lnet/minecraft/class_2675;method_11548()F
named getOffsetX
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getOffsetX()F
-
getOffsetY
- Mappings:
Namespace Name Mixin selector official g
Lqn;g()F
intermediary method_11549
Lnet/minecraft/class_2675;method_11549()F
named getOffsetY
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getOffsetY()F
-
getOffsetZ
- Mappings:
Namespace Name Mixin selector official h
Lqn;h()F
intermediary method_11550
Lnet/minecraft/class_2675;method_11550()F
named getOffsetZ
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getOffsetZ()F
-
getSpeed
- Mappings:
Namespace Name Mixin selector official i
Lqn;i()F
intermediary method_11543
Lnet/minecraft/class_2675;method_11543()F
named getSpeed
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getSpeed()F
-
getCount
- Mappings:
Namespace Name Mixin selector official j
Lqn;j()I
intermediary method_11545
Lnet/minecraft/class_2675;method_11545()I
named getCount
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getCount()I
-
getParameters
- Mappings:
Namespace Name Mixin selector official k
Lqn;k()Lhj;
intermediary method_11551
Lnet/minecraft/class_2675;method_11551()Lnet/minecraft/class_2394;
named getParameters
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getParameters()Lnet/minecraft/particle/ParticleEffect;
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lqn;a(Lpd;)V
intermediary method_11553
Lnet/minecraft/class_2675;method_11553(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-