public class ServerSpawnPlayerPacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerSpawnPlayerPacket(int entityId,
UUID uuid,
double x,
double y,
double z,
float yaw,
float pitch,
EntityMetadata[] metadata) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEntityId() |
EntityMetadata[] |
getMetadata() |
float |
getPitch() |
UUID |
getUUID() |
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 ServerSpawnPlayerPacket(int entityId,
UUID uuid,
double x,
double y,
double z,
float yaw,
float pitch,
EntityMetadata[] metadata)
public int getEntityId()
public UUID getUUID()
public double getX()
public double getY()
public double getZ()
public float getYaw()
public float getPitch()
public EntityMetadata[] getMetadata()
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.