Class EntityEquipmentUpdateS2CPacket

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

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

    • field_33342

      private static final byte field_33342
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lso;a:B
      intermediary field_33342 Lnet/minecraft/class_2744;field_33342:B
      named field_33342 Lnet/minecraft/network/packet/s2c/play/EntityEquipmentUpdateS2CPacket;field_33342:B
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official b Lso;b:I
      intermediary field_12565 Lnet/minecraft/class_2744;field_12565:I
      named id Lnet/minecraft/network/packet/s2c/play/EntityEquipmentUpdateS2CPacket;id:I
    • equipmentList

      private final List<com.mojang.datafixers.util.Pair<EquipmentSlot,ItemStack>> equipmentList
      Mappings:
      Namespace Name Mixin selector
      official c Lso;c:Ljava/util/List;
      intermediary field_25721 Lnet/minecraft/class_2744;field_25721:Ljava/util/List;
      named equipmentList Lnet/minecraft/network/packet/s2c/play/EntityEquipmentUpdateS2CPacket;equipmentList:Ljava/util/List;
  • Constructor Details

    • EntityEquipmentUpdateS2CPacket

      public EntityEquipmentUpdateS2CPacket(int id, List<com.mojang.datafixers.util.Pair<EquipmentSlot,ItemStack>> equipmentList)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lso;<init>(ILjava/util/List;)V
      intermediary <init> Lnet/minecraft/class_2744;<init>(ILjava/util/List;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/EntityEquipmentUpdateS2CPacket;<init>(ILjava/util/List;)V
    • EntityEquipmentUpdateS2CPacket

      public EntityEquipmentUpdateS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lso;<init>(Log;)V
      intermediary <init> Lnet/minecraft/class_2744;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/EntityEquipmentUpdateS2CPacket;<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 Lpk;a(Log;)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 Lso;a(Lpn;)V
      intermediary method_11823 Lnet/minecraft/class_2744;method_11823(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/EntityEquipmentUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official b Lso;b()I
      intermediary method_11820 Lnet/minecraft/class_2744;method_11820()I
      named getId Lnet/minecraft/network/packet/s2c/play/EntityEquipmentUpdateS2CPacket;getId()I
    • getEquipmentList

      public List<com.mojang.datafixers.util.Pair<EquipmentSlot,ItemStack>> getEquipmentList()
      Mappings:
      Namespace Name Mixin selector
      official c Lso;c()Ljava/util/List;
      intermediary method_30145 Lnet/minecraft/class_2744;method_30145()Ljava/util/List;
      named getEquipmentList Lnet/minecraft/network/packet/s2c/play/EntityEquipmentUpdateS2CPacket;getEquipmentList()Ljava/util/List;