public class SPacketParticles extends java.lang.Object implements Packet<INetHandlerPlayClient>
Modifier and Type | Field and Description |
---|---|
private boolean |
longDistance |
private int[] |
particleArguments |
private int |
particleCount |
private float |
particleSpeed |
private EnumParticleTypes |
particleType |
private float |
xCoord |
private float |
xOffset |
private float |
yCoord |
private float |
yOffset |
private float |
zCoord |
private float |
zOffset |
Constructor and Description |
---|
SPacketParticles() |
SPacketParticles(EnumParticleTypes particleIn,
boolean longDistanceIn,
float xIn,
float yIn,
float zIn,
float xOffsetIn,
float yOffsetIn,
float zOffsetIn,
float speedIn,
int countIn,
int... argumentsIn) |
Modifier and Type | Method and Description |
---|---|
int[] |
getParticleArgs() |
int |
getParticleCount() |
float |
getParticleSpeed() |
EnumParticleTypes |
getParticleType() |
double |
getXCoordinate() |
float |
getXOffset() |
double |
getYCoordinate() |
float |
getYOffset() |
double |
getZCoordinate() |
float |
getZOffset() |
boolean |
isLongDistance() |
void |
processPacket(INetHandlerPlayClient handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
private EnumParticleTypes particleType
private float xCoord
private float yCoord
private float zCoord
private float xOffset
private float yOffset
private float zOffset
private float particleSpeed
private int particleCount
private boolean longDistance
private int[] particleArguments
public SPacketParticles()
public SPacketParticles(EnumParticleTypes particleIn, boolean longDistanceIn, float xIn, float yIn, float zIn, float xOffsetIn, float yOffsetIn, float zOffsetIn, float speedIn, int countIn, int... argumentsIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public EnumParticleTypes getParticleType()
public void processPacket(INetHandlerPlayClient handler)
processPacket
in interface Packet<INetHandlerPlayClient>
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 int[] getParticleArgs()