implements Packet<ClientGamePacketListener>
ade | |
net.minecraft.network.protocol.game.ClientboundChangeDifficultyPacket | |
net.minecraft.class_2632 | |
net.minecraft.network.packet.s2c.play.DifficultyS2CPacket | |
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 |
|