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