net.minecraft.network.protocol.game

public record ClientboundChangeDifficultyPacket

implements Packet<ClientGamePacketListener>

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

Field summary

Modifier and TypeField
private final Difficulty
b
difficulty
comp_4282
difficulty
f_131805_
private final boolean
c
locked
comp_4283
difficultyLocked
f_131806_
public static final StreamCodec<io.netty.buffer.ByteBuf, ClientboundChangeDifficultyPacket>
a
STREAM_CODEC
field_47907
CODEC
f_316793_

Constructor summary

ModifierConstructor
public (Difficulty locked, boolean arg1)

Method summary

Modifier and TypeMethod
public PacketType<ClientboundChangeDifficultyPacket>
a()
type()
method_65080()
getPacketType()
m_5779_()
public void
a(acq arg0)
handle(ClientGamePacketListener arg0)
method_11341(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public Difficulty
b()
difficulty()
comp_4282()
difficulty()
f_131805_()
public boolean
e()
locked()
comp_4283()
difficultyLocked()
f_131806_()