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 ahf
  • 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 Lahf;a:Lyx;
    • 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 Lahf;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> Lahf;<init>(Z)V
    • UpdateDifficultyLockC2SPacket

      private UpdateDifficultyLockC2SPacket(PacketByteBuf buf)
      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> Lahf;<init>(Lvw;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      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 Lahf;a(Lvw;)V
    • getPacketId

      Specified by:
      getPacketId in interface Packet<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 Lzg;a()Lzi;
    • apply

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<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 Lahf;a(Lagi;)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 Lahf;b()Z