Class EntityAttachS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.EntityAttachS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/EntityAttachS2CPacket
intermediary net/minecraft/class_2740
official afa
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
static final PacketCodec
<PacketByteBuf, EntityAttachS2CPacket> private final int
-
Constructor Summary
ModifierConstructorDescriptionEntityAttachS2CPacket
(Entity attachedEntity, @Nullable Entity holdingEntity) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) int
int
private 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.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_47980
Lnet/minecraft/class_2740;field_47980:Lnet/minecraft/class_9139;
official a
Lafa;a:Lyx;
-
attachedEntityId
private final int attachedEntityId- Mappings:
Namespace Name Mixin selector named attachedEntityId
Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;attachedEntityId:I
intermediary field_12479
Lnet/minecraft/class_2740;field_12479:I
official b
Lafa;b:I
-
holdingEntityId
private final int holdingEntityId- Mappings:
Namespace Name Mixin selector named holdingEntityId
Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;holdingEntityId:I
intermediary field_12478
Lnet/minecraft/class_2740;field_12478:I
official c
Lafa;c:I
-
-
Constructor Details
-
EntityAttachS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;<init>(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)V
intermediary <init>
Lnet/minecraft/class_2740;<init>(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)V
official <init>
Lafa;<init>(Lbsr;Lbsr;)V
-
EntityAttachS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2740;<init>(Lnet/minecraft/class_2540;)V
official <init>
Lafa;<init>(Lvw;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_55927
Lnet/minecraft/class_2740;method_55927(Lnet/minecraft/class_2540;)V
official a
Lafa;a(Lvw;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
official a
Lzg;a()Lzi;
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
intermediary method_11811
Lnet/minecraft/class_2740;method_11811(Lnet/minecraft/class_2602;)V
official a
Lafa;a(Labu;)V
-
getAttachedEntityId
public int getAttachedEntityId()- Mappings:
Namespace Name Mixin selector named getAttachedEntityId
Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;getAttachedEntityId()I
intermediary method_11812
Lnet/minecraft/class_2740;method_11812()I
official b
Lafa;b()I
-
getHoldingEntityId
public int getHoldingEntityId()- Mappings:
Namespace Name Mixin selector named getHoldingEntityId
Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;getHoldingEntityId()I
intermediary method_11810
Lnet/minecraft/class_2740;method_11810()I
official e
Lafa;e()I
-