net.minecraft.network.protocol.game

public class ServerboundLockDifficultyPacket

implements Packet<ServerGamePacketListener>

ahn
net.minecraft.network.protocol.game.ServerboundLockDifficultyPacket
net.minecraft.class_4211
net.minecraft.unmapped.C_txzbrcbs
net.minecraft.network.packet.c2s.play.UpdateDifficultyLockC2SPacket
net.minecraft.network.packet.c2s.play.DifficultyLockUpdateC2SPacket

Field summary

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

Constructor summary

ModifierConstructor
public (boolean difficultyLocked)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vu arg0)
write(FriendlyByteBuf arg0)
method_55978(class_2540 arg0)
m_fofsbzbl(C_idfydwco arg0)
write(PacketByteBuf buf)
write(PacketByteBuf buf)
public PacketType<ServerboundLockDifficultyPacket>
a()
type()
method_65080()
m_bbocywrf()
getPacketType()
getType()
public void
a(agp arg0)
handle(ServerGamePacketListener arg0)
method_19484(class_2792 arg0)
m_gdwkkmoy(C_eetcdhxt arg0)
apply(ServerPlayPacketListener arg0)
apply(ServerPlayPacketListener arg0)
public boolean
b()
isLocked()
method_19485()
m_kzygnfsf()
isDifficultyLocked()
isDifficultyLocked()