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 ym
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 Lym;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 Lym;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 Lym;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> Lym;<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> Lym;<init>(Lss;)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 Lvb;a(Lss;)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 Lym;a(Lve;)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 a Lym;a()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 Lym;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;