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

    • syncId

      private int syncId
      Mappings:
      Namespace Name Mixin selector
      official a Lqv;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 int screenHandlerId
      Mappings:
      Namespace Name Mixin selector
      official b Lqv;b:I
      intermediary field_17437 Lnet/minecraft/class_3944;field_17437:I
      named screenHandlerId Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;screenHandlerId:I
    • name

      private Text name
      Mappings:
      Namespace Name Mixin selector
      official c Lqv;c:Loi;
      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()
    • OpenScreenS2CPacket

      public OpenScreenS2CPacket​(int syncId, ScreenHandlerType<?> type, Text name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqv;<init>(ILbku;Loi;)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
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lpa;a(Lnw;)V
      intermediary method_11053 Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lpa;b(Lnw;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/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 Lqv;a(Lpd;)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

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

      @Environment(CLIENT) @Nullable public ScreenHandlerType<?> getScreenHandlerType()
      Mappings:
      Namespace Name Mixin selector
      official c Lqv;c()Lbku;
      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

      @Environment(CLIENT) public Text getName()
      Mappings:
      Namespace Name Mixin selector
      official d Lqv;d()Loi;
      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;