public class PacketPlayOutPlayerAbilities extends OutPacket
| Modifier and Type | Field and Description |
|---|---|
protected byte |
flags |
protected float |
flyingSpeed |
protected float |
walkingSpeed |
| Constructor and Description |
|---|
PacketPlayOutPlayerAbilities() |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(ByteBuf buf)
Serialized the data held by this packet into a buffer
|
byte |
flags() |
float |
flyingSpeed() |
int |
id()
Gets the ID of this packet, according to the protocol specification
|
float |
walkingSpeed() |
decode, direction, handleReceived, setprotected byte flags
protected float flyingSpeed
protected float walkingSpeed
public PacketPlayOutPlayerAbilities()
public int id()
Packetpublic byte flags()
public float flyingSpeed()
public float walkingSpeed()
Copyright © 2016. All rights reserved.