net.minecraft.network.protocol.game

public class ServerboundChangeDifficultyPacket

implements Packet<ServerGamePacketListener>

aha
net.minecraft.network.protocol.game.ServerboundChangeDifficultyPacket
net.minecraft.class_4210
net.minecraft.unmapped.C_yimvwzaz
net.minecraft.network.packet.c2s.play.UpdateDifficultyC2SPacket
net.minecraft.network.packet.c2s.play.DifficultyUpdateC2SPacket
net.minecraft.src.C_5148_
net.minecraft.network.protocol.game.PacketPlayInDifficultyChange

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundChangeDifficultyPacket>
a
STREAM_CODEC
field_48176
f_fbxwvimr
CODEC
CODEC
f_314182_
private final Difficulty
b
difficulty
field_18805
f_gpxvnylb
difficulty
difficulty
f_133814_

Constructor summary

ModifierConstructor
public (Difficulty difficulty)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(wm arg0)
write(FriendlyByteBuf arg0)
method_55962(class_2540 arg0)
m_lzcrckwu(C_idfydwco arg0)
write(PacketByteBuf buf)
write(PacketByteBuf buf)
m_133825_(C_4983_ arg0)
public PacketType<ServerboundChangeDifficultyPacket>
a()
type()
method_55846()
m_bbocywrf()
getPacketId()
getType()
m_5779_()
public void
a(agw arg0)
handle(ServerGamePacketListener arg0)
method_19477(class_2792 arg0)
m_krlurzph(C_eetcdhxt arg0)
apply(ServerPlayPacketListener arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public Difficulty
b()
getDifficulty()
method_19478()
m_qqlegrcy()
getDifficulty()
getDifficulty()
m_133824_()