implements Packet<ServerGamePacketListener>
agk | |
net.minecraft.network.protocol.game.ServerboundChangeDifficultyPacket | |
net.minecraft.class_4210 | |
net.minecraft.network.packet.c2s.play.UpdateDifficultyC2SPacket | |
net.minecraft.network.protocol.game.PacketPlayInDifficultyChange |
Field summary
Modifier and Type | Field | ||||||||
---|---|---|---|---|---|---|---|---|---|
public static final StreamCodec<FriendlyByteBuf, ServerboundChangeDifficultyPacket> |
| ||||||||
private final Difficulty |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (Difficulty difficulty) |
private | (FriendlyByteBuf buf) |
Method summary
Modifier and Type | Method | ||||||||
---|---|---|---|---|---|---|---|---|---|
private void |
| ||||||||
public PacketType<ServerboundChangeDifficultyPacket> |
| ||||||||
public void |
| ||||||||
public Difficulty |
|