Class OpenHorseScreenS2CPacket

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

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

    • syncId

      private int syncId
      Mappings:
      Namespace Name Mixin selector
      official a Lqj;a:I
      intermediary field_12144 Lnet/minecraft/class_2648;field_12144:I
      named syncId Lnet/minecraft/network/packet/s2c/play/OpenHorseScreenS2CPacket;syncId:I
    • slotCount

      private int slotCount
      Mappings:
      Namespace Name Mixin selector
      official b Lqj;b:I
      intermediary field_12143 Lnet/minecraft/class_2648;field_12143:I
      named slotCount Lnet/minecraft/network/packet/s2c/play/OpenHorseScreenS2CPacket;slotCount:I
    • horseId

      private int horseId
      Mappings:
      Namespace Name Mixin selector
      official c Lqj;c:I
      intermediary field_12142 Lnet/minecraft/class_2648;field_12142:I
      named horseId Lnet/minecraft/network/packet/s2c/play/OpenHorseScreenS2CPacket;horseId:I
  • Constructor Details

    • OpenHorseScreenS2CPacket

      public OpenHorseScreenS2CPacket()
    • OpenHorseScreenS2CPacket

      public OpenHorseScreenS2CPacket​(int syncId, int slotCount, int horseId)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqj;<init>(III)V
      intermediary <init> Lnet/minecraft/class_2648;<init>(III)V
      named <init> Lnet/minecraft/network/packet/s2c/play/OpenHorseScreenS2CPacket;<init>(III)V
  • Method Details

    • apply

      public void apply​(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lqj;a(Lpd;)V
      intermediary method_11437 Lnet/minecraft/class_2648;method_11437(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/OpenHorseScreenS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • 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
    • getSyncId

      @Environment(CLIENT) public int getSyncId()
      Mappings:
      Namespace Name Mixin selector
      official b Lqj;b()I
      intermediary method_11432 Lnet/minecraft/class_2648;method_11432()I
      named getSyncId Lnet/minecraft/network/packet/s2c/play/OpenHorseScreenS2CPacket;getSyncId()I
    • getSlotCount

      @Environment(CLIENT) public int getSlotCount()
      Mappings:
      Namespace Name Mixin selector
      official c Lqj;c()I
      intermediary method_11434 Lnet/minecraft/class_2648;method_11434()I
      named getSlotCount Lnet/minecraft/network/packet/s2c/play/OpenHorseScreenS2CPacket;getSlotCount()I
    • getHorseId

      @Environment(CLIENT) public int getHorseId()
      Mappings:
      Namespace Name Mixin selector
      official d Lqj;d()I
      intermediary method_11433 Lnet/minecraft/class_2648;method_11433()I
      named getHorseId Lnet/minecraft/network/packet/s2c/play/OpenHorseScreenS2CPacket;getHorseId()I