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 yc
intermediary net/minecraft/class_2648
named net/minecraft/network/packet/s2c/play/OpenHorseScreenS2CPacket
  • Field Details

    • syncId

      private final int syncId
      Mappings:
      Namespace Name Mixin selector
      official a Lyc;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 final int slotCount
      Mappings:
      Namespace Name Mixin selector
      official b Lyc;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 final int horseId
      Mappings:
      Namespace Name Mixin selector
      official c Lyc;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(int syncId, int slotCount, int horseId)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lyc;<init>(III)V
      intermediary <init> Lnet/minecraft/class_2648;<init>(III)V
      named <init> Lnet/minecraft/network/packet/s2c/play/OpenHorseScreenS2CPacket;<init>(III)V
    • OpenHorseScreenS2CPacket

      public OpenHorseScreenS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lyc;<init>(Lso;)V
      intermediary <init> Lnet/minecraft/class_2648;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/OpenHorseScreenS2CPacket;<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 Lvd;a(Lso;)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 Lyc;a(Lww;)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
    • getSyncId

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

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

      public int getHorseId()
      Mappings:
      Namespace Name Mixin selector
      official e Lyc;e()I
      intermediary method_11433 Lnet/minecraft/class_2648;method_11433()I
      named getHorseId Lnet/minecraft/network/packet/s2c/play/OpenHorseScreenS2CPacket;getHorseId()I