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