public class ServerEntityMovementPacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerEntityMovementPacket(int entityId,
boolean onGround) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEntityId() |
double |
getMovementX() |
double |
getMovementY() |
double |
getMovementZ() |
float |
getPitch() |
float |
getYaw() |
boolean |
isOnGround() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerEntityMovementPacket(int entityId,
boolean onGround)
public int getEntityId()
public double getMovementX()
public double getMovementY()
public double getMovementZ()
public float getYaw()
public float getPitch()
public boolean isOnGround()
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.