public class PacketPlayOutSpawnPlayer extends OutPacket
Modifier and Type | Field and Description |
---|---|
protected int |
entityId |
protected ProtocolMetadata |
metadata |
protected Player |
player |
Constructor and Description |
---|
PacketPlayOutSpawnPlayer() |
Modifier and Type | Method and Description |
---|---|
void |
encode(ByteBuf buf)
Serialized the data held by this packet into a buffer
|
int |
entityId() |
int |
id()
Gets the ID of this packet, according to the protocol specification
|
ProtocolMetadata |
metadata() |
Player |
player() |
decode, direction, handleReceived, set
protected int entityId
protected ProtocolMetadata metadata
public PacketPlayOutSpawnPlayer()
public int id()
Packet
public int entityId()
public ProtocolMetadata metadata()
Copyright © 2016. All rights reserved.