implements Packet<ClientGamePacketListener>
| ach | |
| net.minecraft.network.protocol.game.ClientboundChangeDifficultyPacket | |
| net.minecraft.class_2632 | |
| net.minecraft.network.packet.s2c.play.DifficultyS2CPacket | |
| net.minecraft.src.C_5048_ | |
| net.minecraft.network.protocol.game.PacketPlayOutServerDifficulty | 
Field summary
| Modifier and Type | Field | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final StreamCodec<FriendlyByteBuf, ClientboundChangeDifficultyPacket> | 
  | ||||||||||
| private final Difficulty | 
  | ||||||||||
| private final boolean | 
  | 
Constructor summary
| Modifier | Constructor | 
|---|---|
| public | (Difficulty difficulty, boolean difficultyLocked) | 
| private | (FriendlyByteBuf buf) | 
Method summary
| Modifier and Type | Method | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| private void | 
  | ||||||||||
| public PacketType<ClientboundChangeDifficultyPacket> | 
  | ||||||||||
| public void | 
  | ||||||||||
| public boolean | 
  | ||||||||||
| public Difficulty | 
  |