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 Summary
Fields Modifier and Type Field Description private List<com.mojang.datafixers.util.Pair<EquipmentSlot,ItemStack>>
equipmentList
private int
id
-
Constructor Summary
Constructors Constructor Description EntityEquipmentUpdateS2CPacket()
EntityEquipmentUpdateS2CPacket(int id, List<com.mojang.datafixers.util.Pair<EquipmentSlot,ItemStack>> equipmentList)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
List<com.mojang.datafixers.util.Pair<EquipmentSlot,ItemStack>>
getEquipmentList()
int
getId()
void
read(PacketByteBuf buf)
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
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
- 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
- Specified by:
read
in interfacePacket<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
- Specified by:
write
in interfacePacket<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
- Specified by:
apply
in interfacePacket<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
- 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;
-