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 adq
  • 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 Ladq;a:Lyw;
    • 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 Ladq;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 Ladq;c:Lcra;
    • 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 Ladq;d:Lwy;
  • 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> Ladq;<init>(ILcra;Lwy;)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 Lzf;a()Lzh;
    • 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 Ladq;a(Labt;)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 Ladq;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 Ladq;e()Lcra;
    • 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 Ladq;f()Lwy;