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 scintermediary net/minecraft/class_2740named net/minecraft/network/packet/s2c/play/EntityAttachS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private intattachedIdprivate intholdingId -
Constructor Summary
Constructors Constructor Description EntityAttachS2CPacket(Entity attachedEntity, @Nullable Entity holdingEntity)EntityAttachS2CPacket(PacketByteBuf buf) -
Method Summary
Modifier and Type Method Description voidapply(ClientPlayPacketListener clientPlayPacketListener)intgetAttachedEntityId()intgetHoldingEntityId()voidwrite(PacketByteBuf buf)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
attachedId
private final int attachedId- Mappings:
Namespace Name Mixin selector official aLsc;a:Iintermediary field_12479Lnet/minecraft/class_2740;field_12479:Inamed attachedIdLnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;attachedId:I
-
holdingId
private final int holdingId- Mappings:
Namespace Name Mixin selector official bLsc;b:Iintermediary field_12478Lnet/minecraft/class_2740;field_12478:Inamed holdingIdLnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;holdingId:I
-
-
Constructor Details
-
EntityAttachS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>Lsc;<init>(Laro;Laro;)Vintermediary <init>Lnet/minecraft/class_2740;<init>(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;<init>(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)V
-
EntityAttachS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>Lsc;<init>(Lnx;)Vintermediary <init>Lnet/minecraft/class_2740;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLpb;a(Lnx;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLsc;a(Lpe;)Vintermediary method_11811Lnet/minecraft/class_2740;method_11811(Lnet/minecraft/class_2602;)Vnamed applyLnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getAttachedEntityId
- Mappings:
Namespace Name Mixin selector official bLsc;b()Iintermediary method_11812Lnet/minecraft/class_2740;method_11812()Inamed getAttachedEntityIdLnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;getAttachedEntityId()I
-
getHoldingEntityId
- Mappings:
Namespace Name Mixin selector official cLsc;c()Iintermediary method_11810Lnet/minecraft/class_2740;method_11810()Inamed getHoldingEntityIdLnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;getHoldingEntityId()I
-