public class SSpawnParticlePacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
Modifier and Type | Field and Description |
---|---|
private boolean |
longDistance |
private IParticleData |
particle |
private int |
particleCount |
private float |
particleSpeed |
private double |
xCoord |
private float |
xOffset |
private double |
yCoord |
private float |
yOffset |
private double |
zCoord |
private float |
zOffset |
Constructor and Description |
---|
SSpawnParticlePacket() |
SSpawnParticlePacket(T p_i229960_1_,
boolean p_i229960_2_,
double p_i229960_3_,
double p_i229960_5_,
double p_i229960_7_,
float p_i229960_9_,
float p_i229960_10_,
float p_i229960_11_,
float p_i229960_12_,
int p_i229960_13_) |
Modifier and Type | Method and Description |
---|---|
IParticleData |
getParticle() |
int |
getParticleCount() |
float |
getParticleSpeed() |
double |
getXCoordinate() |
float |
getXOffset() |
double |
getYCoordinate() |
float |
getYOffset() |
double |
getZCoordinate() |
float |
getZOffset() |
boolean |
isLongDistance() |
void |
processPacket(IClientPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
private <T extends IParticleData> |
readParticle(PacketBuffer p_199855_1_,
ParticleType<T> p_199855_2_) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
private double xCoord
private double yCoord
private double zCoord
private float xOffset
private float yOffset
private float zOffset
private float particleSpeed
private int particleCount
private boolean longDistance
private IParticleData particle
public SSpawnParticlePacket()
public SSpawnParticlePacket(T p_i229960_1_, boolean p_i229960_2_, double p_i229960_3_, double p_i229960_5_, double p_i229960_7_, float p_i229960_9_, float p_i229960_10_, float p_i229960_11_, float p_i229960_12_, int p_i229960_13_)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
private <T extends IParticleData> T readParticle(PacketBuffer p_199855_1_, ParticleType<T> p_199855_2_)
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public boolean isLongDistance()
public double getXCoordinate()
public double getYCoordinate()
public double getZCoordinate()
public float getXOffset()
public float getYOffset()
public float getZOffset()
public float getParticleSpeed()
public int getParticleCount()
public IParticleData getParticle()
public void processPacket(IClientPlayNetHandler handler)
processPacket
in interface IPacket<IClientPlayNetHandler>