Class OpenScreenS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.OpenScreenS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class OpenScreenS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/play/OpenScreenS2CPacket
intermediary net/minecraft/class_3944
official aeq
  • Field Details

    • CODEC

      public static final PacketCodec<RegistryByteBuf,OpenScreenS2CPacket> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47945 Lnet/minecraft/class_3944;field_47945:Lnet/minecraft/class_9139;
      official a Laeq;a:Lzt;
    • syncId

      private final int syncId
      Mappings:
      Namespace Name Mixin selector
      named syncId Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;syncId:I
      intermediary field_17436 Lnet/minecraft/class_3944;field_17436:I
      official b Laeq;b:I
    • screenHandlerId

      private final ScreenHandlerType<?> screenHandlerId
      Mappings:
      Namespace Name Mixin selector
      named screenHandlerId Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;screenHandlerId:Lnet/minecraft/screen/ScreenHandlerType;
      intermediary field_17437 Lnet/minecraft/class_3944;field_17437:Lnet/minecraft/class_3917;
      official c Laeq;c:Lcuk;
    • name

      private final Text name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;name:Lnet/minecraft/text/Text;
      intermediary field_17438 Lnet/minecraft/class_3944;field_17438:Lnet/minecraft/class_2561;
      official d Laeq;d:Lxv;
  • Constructor Details

    • OpenScreenS2CPacket

      public OpenScreenS2CPacket(int syncId, ScreenHandlerType<?> screenHandlerId, Text name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;<init>(ILnet/minecraft/screen/ScreenHandlerType;Lnet/minecraft/text/Text;)V
      intermediary <init> Lnet/minecraft/class_3944;<init>(ILnet/minecraft/class_3917;Lnet/minecraft/class_2561;)V
      official <init> Laeq;<init>(ILcuk;Lxv;)V
  • Method Details

    • getPacketId

      public PacketType<OpenScreenS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<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 Laac;a()Laae;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_17591 Lnet/minecraft/class_3944;method_17591(Lnet/minecraft/class_2602;)V
      official a Laeq;a(Lacr;)V
    • getSyncId

      public int getSyncId()
      Mappings:
      Namespace Name Mixin selector
      named getSyncId Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;getSyncId()I
      intermediary method_17592 Lnet/minecraft/class_3944;method_17592()I
      official b Laeq;b()I
    • getScreenHandlerType

      public ScreenHandlerType<?> getScreenHandlerType()
      Mappings:
      Namespace Name Mixin selector
      named getScreenHandlerType Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;getScreenHandlerType()Lnet/minecraft/screen/ScreenHandlerType;
      intermediary method_17593 Lnet/minecraft/class_3944;method_17593()Lnet/minecraft/class_3917;
      official e Laeq;e()Lcuk;
    • getName

      public Text getName()
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;getName()Lnet/minecraft/text/Text;
      intermediary method_17594 Lnet/minecraft/class_3944;method_17594()Lnet/minecraft/class_2561;
      official f Laeq;f()Lxv;