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 grintermediary net/minecraft/class_1500named net/minecraft/network/packet/s2c/play/ParticleS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private int[]argsprivate intcountprivate booleanlongDistanceprivate floatoffsetXprivate floatoffsetYprivate floatoffsetZprivate ParticleTypeparticleTypeprivate floatspeedprivate floatxprivate floatyprivate floatz -
Constructor Summary
Constructors Constructor Description ParticleS2CPacket()ParticleS2CPacket(ParticleType particleType, boolean longDistance, float x, float y, float z, float offsetX, float offsetY, float offsetZ, float speed, int count, int[] args) -
Method Summary
Modifier and Type Method Description voidapply(ClientPlayPacketListener clientPlayPacketListener)int[]getArgs()intgetCount()floatgetOffsetX()floatgetOffsetY()floatgetOffsetZ()ParticleTypegetParameters()floatgetSpeed()doublegetX()doublegetY()doublegetZ()booleanisLongDistance()voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)
-
Field Details
-
particleType
- Mappings:
Namespace Name Mixin selector official aLgr;a:Lcy;intermediary field_6191Lnet/minecraft/class_1500;field_6191:Lnet/minecraft/class_1394;named particleTypeLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;particleType:Lnet/minecraft/client/particle/ParticleType;
-
x
private float x- Mappings:
Namespace Name Mixin selector official bLgr;b:Fintermediary field_6192Lnet/minecraft/class_1500;field_6192:Fnamed xLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;x:F
-
y
private float y- Mappings:
Namespace Name Mixin selector official cLgr;c:Fintermediary field_6193Lnet/minecraft/class_1500;field_6193:Fnamed yLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;y:F
-
z
private float z- Mappings:
Namespace Name Mixin selector official dLgr;d:Fintermediary field_6194Lnet/minecraft/class_1500;field_6194:Fnamed zLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;z:F
-
offsetX
private float offsetX- Mappings:
Namespace Name Mixin selector official eLgr;e:Fintermediary field_6195Lnet/minecraft/class_1500;field_6195:Fnamed offsetXLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;offsetX:F
-
offsetY
private float offsetY- Mappings:
Namespace Name Mixin selector official fLgr;f:Fintermediary field_6196Lnet/minecraft/class_1500;field_6196:Fnamed offsetYLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;offsetY:F
-
offsetZ
private float offsetZ- Mappings:
Namespace Name Mixin selector official gLgr;g:Fintermediary field_6197Lnet/minecraft/class_1500;field_6197:Fnamed offsetZLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;offsetZ:F
-
speed
private float speed- Mappings:
Namespace Name Mixin selector official hLgr;h:Fintermediary field_6198Lnet/minecraft/class_1500;field_6198:Fnamed speedLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;speed:F
-
count
private int count- Mappings:
Namespace Name Mixin selector official iLgr;i:Iintermediary field_6199Lnet/minecraft/class_1500;field_6199:Inamed countLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;count:I
-
longDistance
private boolean longDistance- Mappings:
Namespace Name Mixin selector official jLgr;j:Zintermediary field_6200Lnet/minecraft/class_1500;field_6200:Znamed longDistanceLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;longDistance:Z
-
args
private int[] args- Mappings:
Namespace Name Mixin selector official kLgr;k:[Iintermediary field_6201Lnet/minecraft/class_1500;field_6201:[Inamed argsLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;args:[I
-
-
Constructor Details
-
ParticleS2CPacket
public ParticleS2CPacket() -
ParticleS2CPacket
public ParticleS2CPacket(ParticleType particleType, boolean longDistance, float x, float y, float z, float offsetX, float offsetY, float offsetZ, float speed, int count, int[] args)- Mappings:
Namespace Name Mixin selector official <init>Lgr;<init>(Lcy;ZFFFFFFFI[I)Vintermediary <init>Lnet/minecraft/class_1500;<init>(Lnet/minecraft/class_1394;ZFFFFFFFI[I)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;<init>(Lnet/minecraft/client/particle/ParticleType;ZFFFFFFFI[I)V
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLff;a(Lem;)Vintermediary method_5238Lnet/minecraft/class_1457;method_5238(Lnet/minecraft/class_1435;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLff;b(Lem;)Vintermediary method_5240Lnet/minecraft/class_1457;method_5240(Lnet/minecraft/class_1435;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
-
getParameters
- Mappings:
Namespace Name Mixin selector official aLgr;a()Lcy;intermediary method_5491Lnet/minecraft/class_1500;method_5491()Lnet/minecraft/class_1394;named getParametersLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getParameters()Lnet/minecraft/client/particle/ParticleType;
-
isLongDistance
- Mappings:
Namespace Name Mixin selector official bLgr;b()Zintermediary method_5493Lnet/minecraft/class_1500;method_5493()Znamed isLongDistanceLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;isLongDistance()Z
-
getX
- Mappings:
Namespace Name Mixin selector official cLgr;c()Dintermediary method_5494Lnet/minecraft/class_1500;method_5494()Dnamed getXLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getX()D
-
getY
- Mappings:
Namespace Name Mixin selector official dLgr;d()Dintermediary method_5495Lnet/minecraft/class_1500;method_5495()Dnamed getYLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getY()D
-
getZ
- Mappings:
Namespace Name Mixin selector official eLgr;e()Dintermediary method_5496Lnet/minecraft/class_1500;method_5496()Dnamed getZLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getZ()D
-
getOffsetX
- Mappings:
Namespace Name Mixin selector official fLgr;f()Fintermediary method_5497Lnet/minecraft/class_1500;method_5497()Fnamed getOffsetXLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getOffsetX()F
-
getOffsetY
- Mappings:
Namespace Name Mixin selector official gLgr;g()Fintermediary method_5498Lnet/minecraft/class_1500;method_5498()Fnamed getOffsetYLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getOffsetY()F
-
getOffsetZ
- Mappings:
Namespace Name Mixin selector official hLgr;h()Fintermediary method_5499Lnet/minecraft/class_1500;method_5499()Fnamed getOffsetZLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getOffsetZ()F
-
getSpeed
- Mappings:
Namespace Name Mixin selector official iLgr;i()Fintermediary method_5500Lnet/minecraft/class_1500;method_5500()Fnamed getSpeedLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getSpeed()F
-
getCount
- Mappings:
Namespace Name Mixin selector official jLgr;j()Iintermediary method_5501Lnet/minecraft/class_1500;method_5501()Inamed getCountLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getCount()I
-
getArgs
- Mappings:
Namespace Name Mixin selector official kLgr;k()[Iintermediary method_5502Lnet/minecraft/class_1500;method_5502()[Inamed getArgsLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getArgs()[I
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLgr;a(Lfj;)Vintermediary method_5492Lnet/minecraft/class_1500;method_5492(Lnet/minecraft/class_1462;)Vnamed applyLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-