net.minecraft.network.protocol.game

public class ServerboundLockDifficultyPacket

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 TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundLockDifficultyPacket>
a
STREAM_CODEC
field_48197
CODEC
private final boolean
b
locked
field_18806
difficultyLocked

Constructor summary

ModifierConstructor
public (boolean difficultyLocked)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(ws arg0)
write(FriendlyByteBuf arg0)
method_55978(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ServerboundLockDifficultyPacket>
a()
type()
method_55846()
getPacketId()
public void
a(ahm arg0)
handle(ServerGamePacketListener arg0)
method_19484(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public boolean
b()
isLocked()
method_19485()
isDifficultyLocked()