Class UpdateDifficultyLockC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.UpdateDifficultyLockC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
public class UpdateDifficultyLockC2SPacket
extends Object
implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/c2s/play/UpdateDifficultyLockC2SPacket
intermediary net/minecraft/class_4211
official agy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, UpdateDifficultyLockC2SPacket> private final boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ServerPlayPacketListener serverPlayPacketListener) 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/c2s/play/UpdateDifficultyLockC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_48197
Lnet/minecraft/class_4211;field_48197:Lnet/minecraft/class_9139;
official a
Lagy;a:Lys;
-
difficultyLocked
private final boolean difficultyLocked- Mappings:
Namespace Name Mixin selector named difficultyLocked
Lnet/minecraft/network/packet/c2s/play/UpdateDifficultyLockC2SPacket;difficultyLocked:Z
intermediary field_18806
Lnet/minecraft/class_4211;field_18806:Z
official b
Lagy;b:Z
-
-
Constructor Details
-
UpdateDifficultyLockC2SPacket
public UpdateDifficultyLockC2SPacket(boolean difficultyLocked) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/c2s/play/UpdateDifficultyLockC2SPacket;<init>(Z)V
intermediary <init>
Lnet/minecraft/class_4211;<init>(Z)V
official <init>
Lagy;<init>(Z)V
-
UpdateDifficultyLockC2SPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/c2s/play/UpdateDifficultyLockC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
intermediary <init>
Lnet/minecraft/class_4211;<init>(Lnet/minecraft/class_2540;)V
official <init>
Lagy;<init>(Lvr;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/c2s/play/UpdateDifficultyLockC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_55978
Lnet/minecraft/class_4211;method_55978(Lnet/minecraft/class_2540;)V
official a
Lagy;a(Lvr;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ServerPlayPacketListener>
- 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
Lzb;a()Lzd;
-
apply
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/c2s/play/UpdateDifficultyLockC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
intermediary method_19484
Lnet/minecraft/class_4211;method_19484(Lnet/minecraft/class_2792;)V
official a
Lagy;a(Lagb;)V
-
isDifficultyLocked
public boolean isDifficultyLocked()- Mappings:
Namespace Name Mixin selector named isDifficultyLocked
Lnet/minecraft/network/packet/c2s/play/UpdateDifficultyLockC2SPacket;isDifficultyLocked()Z
intermediary method_19485
Lnet/minecraft/class_4211;method_19485()Z
official b
Lagy;b()Z
-