net.minecraft.network.protocol.game

public class ServerboundLockDifficultyPacket

implements Packet<ServerGamePacketListener>

aht
net.minecraft.network.protocol.game.ServerboundLockDifficultyPacket
net.minecraft.class_4211
net.minecraft.network.packet.c2s.play.UpdateDifficultyLockC2SPacket
net.minecraft.src.C_5165_
net.minecraft.network.protocol.game.PacketPlayInDifficultyLock

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundLockDifficultyPacket>
a
STREAM_CODEC
field_48197
CODEC
f_314910_
private final boolean
b
locked
field_18806
difficultyLocked
f_134105_

Constructor summary

ModifierConstructor
public (boolean difficultyLocked)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(wm arg0)
write(FriendlyByteBuf arg0)
method_55978(class_2540 arg0)
write(PacketByteBuf buf)
m_134116_(C_4983_ arg0)
public PacketType<ServerboundLockDifficultyPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(agw arg0)
handle(ServerGamePacketListener arg0)
method_19484(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public boolean
b()
isLocked()
method_19485()
isDifficultyLocked()
m_134115_()