public class PacketPlayOutEntityTeleport extends OutPacket
Modifier and Type | Field and Description |
---|---|
protected int |
entityId |
protected Position |
location |
protected boolean |
onGround |
Constructor and Description |
---|
PacketPlayOutEntityTeleport() |
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
|
Position |
location() |
boolean |
onGround() |
decode, direction, handleReceived, set
public PacketPlayOutEntityTeleport()
Copyright © 2016. All rights reserved.