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 qnintermediary net/minecraft/class_2675named net/minecraft/network/packet/s2c/play/ParticleS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private intcountprivate booleanlongDistanceprivate floatoffsetXprivate floatoffsetYprivate floatoffsetZprivate ParticleEffectparametersprivate floatspeedprivate doublexprivate doubleyprivate doublez -
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 voidapply(ClientPlayPacketListener clientPlayPacketListener)intgetCount()floatgetOffsetX()floatgetOffsetY()floatgetOffsetZ()ParticleEffectgetParameters()floatgetSpeed()doublegetX()doublegetY()doublegetZ()booleanisLongDistance()voidread(PacketByteBuf buf)private <T extends ParticleEffect>
TreadParticleParameters(PacketByteBuf buf, ParticleType<T> type)voidwrite(PacketByteBuf 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
isWritingErrorSkippable
-
Field Details
-
x
private double x- Mappings:
Namespace Name Mixin selector official aLqn;a:Dintermediary field_12258Lnet/minecraft/class_2675;field_12258:Dnamed xLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;x:D
-
y
private double y- Mappings:
Namespace Name Mixin selector official bLqn;b:Dintermediary field_12257Lnet/minecraft/class_2675;field_12257:Dnamed yLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;y:D
-
z
private double z- Mappings:
Namespace Name Mixin selector official cLqn;c:Dintermediary field_12256Lnet/minecraft/class_2675;field_12256:Dnamed zLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;z:D
-
offsetX
private float offsetX- Mappings:
Namespace Name Mixin selector official dLqn;d:Fintermediary field_12255Lnet/minecraft/class_2675;field_12255:Fnamed offsetXLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;offsetX:F
-
offsetY
private float offsetY- Mappings:
Namespace Name Mixin selector official eLqn;e:Fintermediary field_12252Lnet/minecraft/class_2675;field_12252:Fnamed offsetYLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;offsetY:F
-
offsetZ
private float offsetZ- Mappings:
Namespace Name Mixin selector official fLqn;f:Fintermediary field_12251Lnet/minecraft/class_2675;field_12251:Fnamed offsetZLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;offsetZ:F
-
speed
private float speed- Mappings:
Namespace Name Mixin selector official gLqn;g:Fintermediary field_12260Lnet/minecraft/class_2675;field_12260:Fnamed speedLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;speed:F
-
count
private int count- Mappings:
Namespace Name Mixin selector official hLqn;h:Iintermediary field_12253Lnet/minecraft/class_2675;field_12253:Inamed countLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;count:I
-
longDistance
private boolean longDistance- Mappings:
Namespace Name Mixin selector official iLqn;i:Zintermediary field_12254Lnet/minecraft/class_2675;field_12254:Znamed longDistanceLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;longDistance:Z
-
parameters
- Mappings:
Namespace Name Mixin selector official jLqn;j:Lhj;intermediary field_12259Lnet/minecraft/class_2675;field_12259:Lnet/minecraft/class_2394;named parametersLnet/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)Vintermediary <init>Lnet/minecraft/class_2675;<init>(Lnet/minecraft/class_2394;ZDDDFFFFI)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;<init>(Lnet/minecraft/particle/ParticleEffect;ZDDDFFFFI)V
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLpa;a(Lnw;)Vintermediary method_11053Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)Vnamed readLnet/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 aLqn;a(Lnw;Lhk;)Lhj;intermediary method_11542Lnet/minecraft/class_2675;method_11542(Lnet/minecraft/class_2540;Lnet/minecraft/class_2396;)Lnet/minecraft/class_2394;named readParticleParametersLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;readParticleParameters(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/particle/ParticleType;)Lnet/minecraft/particle/ParticleEffect;
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLpa;b(Lnw;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
isLongDistance
- Mappings:
Namespace Name Mixin selector official bLqn;b()Zintermediary method_11552Lnet/minecraft/class_2675;method_11552()Znamed isLongDistanceLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;isLongDistance()Z
-
getX
- Mappings:
Namespace Name Mixin selector official cLqn;c()Dintermediary method_11544Lnet/minecraft/class_2675;method_11544()Dnamed getXLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getX()D
-
getY
- Mappings:
Namespace Name Mixin selector official dLqn;d()Dintermediary method_11547Lnet/minecraft/class_2675;method_11547()Dnamed getYLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getY()D
-
getZ
- Mappings:
Namespace Name Mixin selector official eLqn;e()Dintermediary method_11546Lnet/minecraft/class_2675;method_11546()Dnamed getZLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getZ()D
-
getOffsetX
- Mappings:
Namespace Name Mixin selector official fLqn;f()Fintermediary method_11548Lnet/minecraft/class_2675;method_11548()Fnamed getOffsetXLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getOffsetX()F
-
getOffsetY
- Mappings:
Namespace Name Mixin selector official gLqn;g()Fintermediary method_11549Lnet/minecraft/class_2675;method_11549()Fnamed getOffsetYLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getOffsetY()F
-
getOffsetZ
- Mappings:
Namespace Name Mixin selector official hLqn;h()Fintermediary method_11550Lnet/minecraft/class_2675;method_11550()Fnamed getOffsetZLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getOffsetZ()F
-
getSpeed
- Mappings:
Namespace Name Mixin selector official iLqn;i()Fintermediary method_11543Lnet/minecraft/class_2675;method_11543()Fnamed getSpeedLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getSpeed()F
-
getCount
- Mappings:
Namespace Name Mixin selector official jLqn;j()Iintermediary method_11545Lnet/minecraft/class_2675;method_11545()Inamed getCountLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getCount()I
-
getParameters
- Mappings:
Namespace Name Mixin selector official kLqn;k()Lhj;intermediary method_11551Lnet/minecraft/class_2675;method_11551()Lnet/minecraft/class_2394;named getParametersLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;getParameters()Lnet/minecraft/particle/ParticleEffect;
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLqn;a(Lpd;)Vintermediary method_11553Lnet/minecraft/class_2675;method_11553(Lnet/minecraft/class_2602;)Vnamed applyLnet/minecraft/network/packet/s2c/play/ParticleS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-