net.minecraft.network.protocol.game

public class ServerboundChangeDifficultyPacket

implements Packet<ServerGamePacketListener>

zs
net.minecraft.network.protocol.game.ServerboundChangeDifficultyPacket
net.minecraft.class_4210
net.minecraft.network.packet.c2s.play.UpdateDifficultyC2SPacket
net.minecraft.src.C_5148_
net.minecraft.network.protocol.game.PacketPlayInDifficultyChange

Field summary

Modifier and TypeField
private final Difficulty
a
difficulty
field_18805
difficulty
f_133814_

Constructor summary

ModifierConstructor
public (Difficulty difficulty)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(zo arg0)
handle(ServerGamePacketListener arg0)
method_19477(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public void
a(ss arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public Difficulty
a()
getDifficulty()
method_19478()
getDifficulty()
m_133824_()