public class ServerDifficultyPacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerDifficultyPacket(Difficulty difficulty) |
| Modifier and Type | Method and Description |
|---|---|
Difficulty |
getDifficulty() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic ServerDifficultyPacket(Difficulty difficulty)
public Difficulty getDifficulty()
public void read(com.github.steveice10.packetlib.io.NetInput in)
throws IOException
IOExceptionpublic void write(com.github.steveice10.packetlib.io.NetOutput out)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.