public class NPacketPlayOutSpawnEntityLiving extends Object implements NPacketPlayOut
Modifier and Type | Field and Description |
---|---|
int |
entityId |
UUID |
entityUUID
This field appear in 1.9
For 1.8, a random one is generated to prevent NPE |
double |
modX |
double |
modY |
double |
modZ |
float |
pitch |
float |
secondYaw
Don't know what is the behavior of this.
|
EntityType |
type |
double |
x |
double |
y |
float |
yaw |
double |
z |
Constructor and Description |
---|
NPacketPlayOutSpawnEntityLiving() |
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, wait
create, getPacketName, write
public int entityId
public UUID entityUUID
public EntityType type
public double x
public double y
public double z
public double modX
public double modY
public double modZ
public float yaw
public float pitch
public float secondYaw
public void read(PacketSerializer serializer, Version version)
NPacket
public PacketType getPacketType()
NPacket
getPacketType
in interface NPacket