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
official wo
intermediary net/minecraft/class_3944
named net/minecraft/network/packet/s2c/play/OpenScreenS2CPacket
  • Field Details

    • syncId

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

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

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

    • OpenScreenS2CPacket

      public OpenScreenS2CPacket(int syncId, ScreenHandlerType<?> type, Text name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwo;<init>(ILcck;Lsw;)V
      intermediary <init> Lnet/minecraft/class_3944;<init>(ILnet/minecraft/class_3917;Lnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;<init>(ILnet/minecraft/screen/ScreenHandlerType;Lnet/minecraft/text/Text;)V
    • OpenScreenS2CPacket

      public OpenScreenS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwo;<init>(Lsf;)V
      intermediary <init> Lnet/minecraft/class_3944;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<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

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

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

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

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