net.minecraft.network.protocol.game

public class ClientboundChangeDifficultyPacket

implements Packet<ClientGamePacketListener>

acv
net.minecraft.network.protocol.game.ClientboundChangeDifficultyPacket
net.minecraft.class_2632
net.minecraft.unmapped.C_qexgwzpy
net.minecraft.network.packet.s2c.play.DifficultyS2CPacket
net.minecraft.network.packet.s2c.play.DifficultyUpdateS2CPacket
net.minecraft.src.C_5048_
net.minecraft.network.protocol.game.PacketPlayOutServerDifficulty

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundChangeDifficultyPacket>
a
STREAM_CODEC
field_47907
f_xdrxmyko
CODEC
CODEC
f_316793_
private final Difficulty
b
difficulty
field_12090
f_idlwcfud
difficulty
difficulty
f_131805_
private final boolean
c
locked
field_12091
f_weqyjerb
difficultyLocked
difficultyLocked
f_131806_

Constructor summary

ModifierConstructor
public (Difficulty difficulty, boolean difficultyLocked)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(wm arg0)
write(FriendlyByteBuf arg0)
method_55862(class_2540 arg0)
m_igcijsgc(C_idfydwco arg0)
write(PacketByteBuf buf)
write(PacketByteBuf buf)
m_131818_(C_4983_ arg0)
public PacketType<ClientboundChangeDifficultyPacket>
a()
type()
method_55846()
m_bbocywrf()
getPacketId()
getType()
m_5779_()
public void
a(aci arg0)
handle(ClientGamePacketListener arg0)
method_11341(class_2602 arg0)
m_mexhqmes(C_rbfddnlp arg0)
apply(ClientPlayPacketListener arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public boolean
b()
isLocked()
method_11340()
m_sojsjvdk()
isDifficultyLocked()
isDifficultyLocked()
m_131817_()
public Difficulty
e()
getDifficulty()
method_11342()
m_arsneoym()
getDifficulty()
getDifficulty()
m_131820_()