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
named net/minecraft/network/packet/s2c/play/EntityAttachS2CPacket
intermediary net/minecraft/class_2740
official afo
  • Field Details

    • CODEC

      public static final PacketCodec<PacketByteBuf,EntityAttachS2CPacket> 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 Lafo;a:Lzn;
    • 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 Lafo;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 Lafo;c:I
  • Constructor Details

    • EntityAttachS2CPacket

      public EntityAttachS2CPacket(Entity attachedEntity, @Nullable @Nullable Entity holdingEntity)
      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> Lafo;<init>(Lbsw;Lbsw;)V
    • EntityAttachS2CPacket

      private EntityAttachS2CPacket(PacketByteBuf buf)
      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> Lafo;<init>(Lwm;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      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 Lafo;a(Lwm;)V
    • getPacketId

      public PacketType<EntityAttachS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<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 Lzw;a()Lzy;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<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 Lafo;a(Laci;)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 Lafo;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 Lafo;e()I