Class DifficultyS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.DifficultyS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/DifficultyS2CPacket
intermediary net/minecraft/class_2632
official ach
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, DifficultyS2CPacket> private final Difficulty
private final boolean
-
Constructor Summary
ModifierConstructorDescriptionprivate
DifficultyS2CPacket
(Difficulty difficulty, boolean difficultyLocked) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) boolean
private void
write
(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_47907
Lnet/minecraft/class_2632;field_47907:Lnet/minecraft/class_9139;
official a
Lach;a:Lyx;
-
difficulty
- Mappings:
Namespace Name Mixin selector named difficulty
Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;difficulty:Lnet/minecraft/world/Difficulty;
intermediary field_12090
Lnet/minecraft/class_2632;field_12090:Lnet/minecraft/class_1267;
official b
Lach;b:Lbqo;
-
difficultyLocked
private final boolean difficultyLocked- Mappings:
Namespace Name Mixin selector named difficultyLocked
Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;difficultyLocked:Z
intermediary field_12091
Lnet/minecraft/class_2632;field_12091:Z
official c
Lach;c:Z
-
-
Constructor Details
-
DifficultyS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;<init>(Lnet/minecraft/world/Difficulty;Z)V
intermediary <init>
Lnet/minecraft/class_2632;<init>(Lnet/minecraft/class_1267;Z)V
official <init>
Lach;<init>(Lbqo;Z)V
-
DifficultyS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2632;<init>(Lnet/minecraft/class_2540;)V
official <init>
Lach;<init>(Lvw;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_55862
Lnet/minecraft/class_2632;method_55862(Lnet/minecraft/class_2540;)V
official a
Lach;a(Lvw;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
official a
Lzg;a()Lzi;
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
intermediary method_11341
Lnet/minecraft/class_2632;method_11341(Lnet/minecraft/class_2602;)V
official a
Lach;a(Labu;)V
-
isDifficultyLocked
public boolean isDifficultyLocked()- Mappings:
Namespace Name Mixin selector named isDifficultyLocked
Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;isDifficultyLocked()Z
intermediary method_11340
Lnet/minecraft/class_2632;method_11340()Z
official b
Lach;b()Z
-
getDifficulty
- Mappings:
Namespace Name Mixin selector named getDifficulty
Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;getDifficulty()Lnet/minecraft/world/Difficulty;
intermediary method_11342
Lnet/minecraft/class_2632;method_11342()Lnet/minecraft/class_1267;
official e
Lach;e()Lbqo;
-