public class ServerSpawnParticlePacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerSpawnParticlePacket(Particle particle,
boolean longDistance,
float x,
float y,
float z,
float offsetX,
float offsetY,
float offsetZ,
float velocityOffset,
int amount,
int... data) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAmount() |
int[] |
getData() |
float |
getOffsetX() |
float |
getOffsetY() |
float |
getOffsetZ() |
Particle |
getParticle() |
float |
getVelocityOffset() |
float |
getX() |
float |
getY() |
float |
getZ() |
boolean |
isLongDistance() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerSpawnParticlePacket(Particle particle, boolean longDistance, float x, float y, float z, float offsetX, float offsetY, float offsetZ, float velocityOffset, int amount, int... data)
public Particle getParticle()
public boolean isLongDistance()
public float getX()
public float getY()
public float getZ()
public float getOffsetX()
public float getOffsetY()
public float getOffsetZ()
public float getVelocityOffset()
public int getAmount()
public int[] getData()
public void read(com.github.steveice10.packetlib.io.NetInput in)
throws IOException
IOExceptionpublic void write(com.github.steveice10.packetlib.io.NetOutput out)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.