Class DifficultyS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.DifficultyS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official ve
intermediary net/minecraft/class_2632
named net/minecraft/network/packet/s2c/play/DifficultyS2CPacket
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) boolean
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
-
Field Details
-
difficulty
- Mappings:
Namespace Name Mixin selector official a
Lve;a:Lbdu;
intermediary field_12090
Lnet/minecraft/class_2632;field_12090:Lnet/minecraft/class_1267;
named difficulty
Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;difficulty:Lnet/minecraft/world/Difficulty;
-
difficultyLocked
private final boolean difficultyLocked- Mappings:
Namespace Name Mixin selector official b
Lve;b:Z
intermediary field_12091
Lnet/minecraft/class_2632;field_12091:Z
named difficultyLocked
Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;difficultyLocked:Z
-
-
Constructor Details
-
DifficultyS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lve;<init>(Lbdu;Z)V
intermediary <init>
Lnet/minecraft/class_2632;<init>(Lnet/minecraft/class_1267;Z)V
named <init>
Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;<init>(Lnet/minecraft/world/Difficulty;Z)V
-
DifficultyS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lve;<init>(Lsf;)V
intermediary <init>
Lnet/minecraft/class_2632;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Luo;a(Lsf;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lve;a(Lur;)V
intermediary method_11341
Lnet/minecraft/class_2632;method_11341(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
isDifficultyLocked
public boolean isDifficultyLocked()- Mappings:
Namespace Name Mixin selector official a
Lve;a()Z
intermediary method_11340
Lnet/minecraft/class_2632;method_11340()Z
named isDifficultyLocked
Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;isDifficultyLocked()Z
-
getDifficulty
- Mappings:
Namespace Name Mixin selector official c
Lve;c()Lbdu;
intermediary method_11342
Lnet/minecraft/class_2632;method_11342()Lnet/minecraft/class_1267;
named getDifficulty
Lnet/minecraft/network/packet/s2c/play/DifficultyS2CPacket;getDifficulty()Lnet/minecraft/world/Difficulty;
-