implements Packet<ClientPlayPacketListener>
| net.minecraft.network.protocol.game.ClientboundChangeDifficultyPacket | |
| net.minecraft.class_2632 | |
| net.minecraft.network.packet.s2c.play.DifficultyS2CPacket |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| private final Difficulty |
|
||||||
| private final boolean |
|
||||||
| public static final PacketCodec<io.netty.buffer.ByteBuf, DifficultyS2CPacket> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (Difficulty difficulty, boolean difficultyLocked) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| public PacketType<DifficultyS2CPacket> |
|
||||||
| public void |
|
||||||
| public Difficulty |
|
||||||
| public boolean |
|
||||||
| public void |
|