implements Packet<ServerGamePacketListener>
aik | |
net.minecraft.network.protocol.game.ServerboundLockDifficultyPacket | |
net.minecraft.class_4211 | |
net.minecraft.network.packet.c2s.play.UpdateDifficultyLockC2SPacket | |
net.minecraft.network.protocol.game.PacketPlayInDifficultyLock |
Field summary
Modifier and Type | Field | ||||||||
---|---|---|---|---|---|---|---|---|---|
public static final StreamCodec<FriendlyByteBuf, ServerboundLockDifficultyPacket> |
| ||||||||
private final boolean |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (boolean difficultyLocked) |
private | (FriendlyByteBuf buf) |
Method summary
Modifier and Type | Method | ||||||||
---|---|---|---|---|---|---|---|---|---|
private void |
| ||||||||
public PacketType<ServerboundLockDifficultyPacket> |
| ||||||||
public void |
| ||||||||
public boolean |
|