public class NPacketPlayOutSpawnPlayer extends Object implements NPacketPlayOut
| Modifier and Type | Field and Description |
|---|---|
int |
entityId |
int |
itemId
Warn: this field have been removed since 1.9
|
float |
pitch |
UUID |
uuid |
double |
x |
double |
y |
float |
yaw |
double |
z |
| Constructor and Description |
|---|
NPacketPlayOutSpawnPlayer() |
| Modifier and Type | Method and Description |
|---|---|
PacketType |
getPacketType()
Get type of packet
|
void |
read(PacketSerializer serializer,
Version version)
Read packet from given serializer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, getPacketName, writepublic int entityId
public int itemId
public UUID uuid
public double x
public double y
public double z
public float yaw
public float pitch
public void read(PacketSerializer serializer, Version version)
NPacketpublic PacketType getPacketType()
NPacketgetPacketType in interface NPacket