net.minecraft.network.protocol.game

public class ClientboundChangeDifficultyPacket

implements Packet<ClientGamePacketListener>

vr
net.minecraft.network.protocol.game.ClientboundChangeDifficultyPacket
net.minecraft.class_2632
net.minecraft.network.packet.s2c.play.DifficultyS2CPacket
net.minecraft.src.C_5048_
net.minecraft.network.protocol.game.PacketPlayOutServerDifficulty

Field summary

Modifier and TypeField
private final Difficulty
a
difficulty
field_12090
difficulty
f_131805_
private final boolean
b
locked
field_12091
difficultyLocked
f_131806_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(ss arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(ve arg0)
handle(ClientGamePacketListener arg0)
method_11341(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public boolean
a()
isLocked()
method_11340()
isDifficultyLocked()
m_131817_()
public Difficulty
c()
getDifficulty()
method_11342()
getDifficulty()
m_131820_()