public class ServerPlayerPositionRotationPacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerPlayerPositionRotationPacket(double x,
double y,
double z,
float yaw,
float pitch,
int teleportId,
PositionElement... relative) |
| Modifier and Type | Method and Description |
|---|---|
float |
getPitch() |
List<PositionElement> |
getRelativeElements() |
int |
getTeleportId() |
double |
getX() |
double |
getY() |
float |
getYaw() |
double |
getZ() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerPlayerPositionRotationPacket(double x,
double y,
double z,
float yaw,
float pitch,
int teleportId,
PositionElement... relative)
public double getX()
public double getY()
public double getZ()
public float getYaw()
public float getPitch()
public List<PositionElement> getRelativeElements()
public int getTeleportId()
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.