net.minecraft.network.protocol.game

public record ServerboundChangeDifficultyPacket

implements Packet<ServerGamePacketListener>

ahq
net.minecraft.network.protocol.game.ServerboundChangeDifficultyPacket
net.minecraft.class_4210
net.minecraft.network.packet.c2s.play.UpdateDifficultyC2SPacket

Field summary

Modifier and TypeField
private final Difficulty
b
difficulty
comp_4292
difficulty
public static final StreamCodec<io.netty.buffer.ByteBuf, ServerboundChangeDifficultyPacket>
a
STREAM_CODEC
field_48176
CODEC

Constructor summary

ModifierConstructor
public (Difficulty arg0)

Method summary

Modifier and TypeMethod
public PacketType<ServerboundChangeDifficultyPacket>
a()
type()
method_65080()
getPacketType()
public void
a(ahm arg0)
handle(ServerGamePacketListener arg0)
method_19477(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public Difficulty
b()
difficulty()
comp_4292()
difficulty()