public class PacketPlayInPlayerCompleteMove extends PacketPlayInPlayerMove
location, onGround| Constructor and Description |
|---|
PacketPlayInPlayerCompleteMove() |
| Modifier and Type | Method and Description |
|---|---|
Packet |
decode(ByteBuf buf)
Sets the fields of the packet from the data serialized into the buffer
|
void |
handleReceived(ClientConnection connection)
Handles the packet after receiving it from a connection, is invoked by the ClientConnection that received it
|
int |
id()
Gets the ID of this packet, according to the protocol specification
|
location, onGroundpublic PacketPlayInPlayerCompleteMove()
public int id()
Packetid in interface Packetid in class PacketPlayInPlayerMovepublic Packet decode(ByteBuf buf)
Packetdecode in interface Packetdecode in class PacketPlayInPlayerMovebuf - the buffer storing the serialized packet datapublic void handleReceived(ClientConnection connection)
PacketUsed to allow the packet to notify the ClientConnection
of packets the server receives, and make changes specific to this packet
handleReceived in interface PackethandleReceived in class PacketPlayInPlayerMoveconnection - The connection that sent the packetCopyright © 2016. All rights reserved.