public class SPacketParticles extends java.lang.Object implements Packet<INetHandlerPlayClient>
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) |
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()