implements Packet<ClientGamePacketListener>
| adn | |
| 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 StreamCodec<io.netty.buffer.ByteBuf, ClientboundChangeDifficultyPacket> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (Difficulty difficulty, boolean difficultyLocked) |
Method summary
| Modifier and Type | Method | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public PacketType<ClientboundChangeDifficultyPacket> |
| ||||||||
| public void |
| ||||||||
| public Difficulty |
| ||||||||
| public boolean |
|