net.minecraft.network.protocol.game

public class ClientboundChangeDifficultyPacket

implements Packet<ClientGamePacketListener>

nz
net.minecraft.network.protocol.game.ClientboundChangeDifficultyPacket
net.minecraft.class_2632
net.minecraft.network.packet.s2c.play.DifficultyS2CPacket
net.minecraft.network.play.server.SServerDifficultyPacket
net.minecraft.server.v1_16_R1.PacketPlayOutServerDifficulty

Field summary

Modifier and TypeField
private Difficulty
a
difficulty
field_12090
difficulty
field_179833_a
private boolean
b
locked
field_12091
difficultyLocked
field_179832_b

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(nl arg0)
handle(ClientGamePacketListener arg0)
method_11341(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
func_148833_a(IClientPlayNetHandler arg0)
public void
a(mg arg0)
read(FriendlyByteBuf arg0)
method_11053(class_2540 arg0)
read(PacketByteBuf arg0)
func_148837_a(PacketBuffer arg0)
public void
b(mg arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
func_148840_b(PacketBuffer arg0)
public boolean
b()
isLocked()
method_11340()
isDifficultyLocked()
func_179830_a()
public Difficulty
c()
getDifficulty()
method_11342()
getDifficulty()
func_179831_b()