Class CloseScreenS2CPacket

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

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

    • CODEC

      public static final PacketCodec<PacketByteBuf,CloseScreenS2CPacket> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/CloseScreenS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47915 Lnet/minecraft/class_2645;field_47915:Lnet/minecraft/class_9139;
      official a Ladc;a:Lzn;
    • syncId

      private final int syncId
      Mappings:
      Namespace Name Mixin selector
      named syncId Lnet/minecraft/network/packet/s2c/play/CloseScreenS2CPacket;syncId:I
      intermediary field_12137 Lnet/minecraft/class_2645;field_12137:I
      official b Ladc;b:I
  • Constructor Details

    • CloseScreenS2CPacket

      public CloseScreenS2CPacket(int syncId)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/CloseScreenS2CPacket;<init>(I)V
      intermediary <init> Lnet/minecraft/class_2645;<init>(I)V
      official <init> Ladc;<init>(I)V
    • CloseScreenS2CPacket

      private CloseScreenS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/CloseScreenS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2645;<init>(Lnet/minecraft/class_2540;)V
      official <init> Ladc;<init>(Lwm;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/CloseScreenS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55868 Lnet/minecraft/class_2645;method_55868(Lnet/minecraft/class_2540;)V
      official a Ladc;a(Lwm;)V
    • getPacketId

      public PacketType<CloseScreenS2CPacket> 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 Lzw;a()Lzy;
    • 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/CloseScreenS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11427 Lnet/minecraft/class_2645;method_11427(Lnet/minecraft/class_2602;)V
      official a Ladc;a(Laci;)V
    • getSyncId

      public int getSyncId()
      Mappings:
      Namespace Name Mixin selector
      named getSyncId Lnet/minecraft/network/packet/s2c/play/CloseScreenS2CPacket;getSyncId()I
      intermediary method_36148 Lnet/minecraft/class_2645;method_36148()I
      official b Ladc;b()I