Class EntityAttachS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.EntityAttachS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class EntityAttachS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official rt
intermediary net/minecraft/class_2740
named net/minecraft/network/packet/s2c/play/EntityAttachS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private int
attachedId
private int
holdingId
-
Constructor Summary
Constructors Constructor Description EntityAttachS2CPacket()
EntityAttachS2CPacket(Entity attachedEntity, Entity holdingEntity)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
int
getAttachedEntityId()
int
getHoldingEntityId()
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
-
attachedId
private int attachedId- Mappings:
Namespace Name Mixin selector official a
Lrt;a:I
intermediary field_12479
Lnet/minecraft/class_2740;field_12479:I
named attachedId
Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;attachedId:I
-
holdingId
private int holdingId- Mappings:
Namespace Name Mixin selector official b
Lrt;b:I
intermediary field_12478
Lnet/minecraft/class_2740;field_12478:I
named holdingId
Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;holdingId:I
-
-
Constructor Details
-
EntityAttachS2CPacket
public EntityAttachS2CPacket() -
EntityAttachS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lrt;<init>(Laqv;Laqv;)V
intermediary <init>
Lnet/minecraft/class_2740;<init>(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;<init>(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)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
Lrt;a(Lpd;)V
intermediary method_11811
Lnet/minecraft/class_2740;method_11811(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getAttachedEntityId
- Mappings:
Namespace Name Mixin selector official b
Lrt;b()I
intermediary method_11812
Lnet/minecraft/class_2740;method_11812()I
named getAttachedEntityId
Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;getAttachedEntityId()I
-
getHoldingEntityId
- Mappings:
Namespace Name Mixin selector official c
Lrt;c()I
intermediary method_11810
Lnet/minecraft/class_2740;method_11810()I
named getHoldingEntityId
Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;getHoldingEntityId()I
-