public class ServerEntityTeleportPacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerEntityTeleportPacket(int entityId,
double x,
double y,
double z,
float yaw,
float pitch,
boolean onGround) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEntityId() |
float |
getPitch() |
double |
getX() |
double |
getY() |
float |
getYaw() |
double |
getZ() |
boolean |
isOnGround() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerEntityTeleportPacket(int entityId,
double x,
double y,
double z,
float yaw,
float pitch,
boolean onGround)
public int getEntityId()
public double getX()
public double getY()
public double getZ()
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.