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 rv
intermediary net/minecraft/class_2744
named net/minecraft/network/packet/s2c/play/EntityEquipmentUpdateS2CPacket
  • Field Details

    • id

      private int id
      Mappings:
      Namespace Name Mixin selector
      official a Lrv;a: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 b Lrv;b: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()
    • EntityEquipmentUpdateS2CPacket

      public EntityEquipmentUpdateS2CPacket​(int id, List<com.mojang.datafixers.util.Pair<EquipmentSlot,​ItemStack>> equipmentList)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lrv;<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
  • Method Details

    • 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
    • apply

      public void apply​(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lrv;a(Lpd;)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

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

      @Environment(CLIENT) public List<com.mojang.datafixers.util.Pair<EquipmentSlot,​ItemStack>> getEquipmentList()
      Mappings:
      Namespace Name Mixin selector
      official c Lrv;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;