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

    • attachedEntityId

      private final int attachedEntityId
      Mappings:
      Namespace Name Mixin selector
      official a Lacd;a:I
      intermediary field_12479 Lnet/minecraft/class_2740;field_12479:I
      named attachedEntityId Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;attachedEntityId:I
    • holdingEntityId

      private final int holdingEntityId
      Mappings:
      Namespace Name Mixin selector
      official b Lacd;b:I
      intermediary field_12478 Lnet/minecraft/class_2740;field_12478:I
      named holdingEntityId Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;holdingEntityId:I
  • Constructor Details

    • EntityAttachS2CPacket

      public EntityAttachS2CPacket(Entity attachedEntity, @Nullable @Nullable Entity holdingEntity)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lacd;<init>(Lblv;Lblv;)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
    • EntityAttachS2CPacket

      public EntityAttachS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lacd;<init>(Lui;)V
      intermediary <init> Lnet/minecraft/class_2740;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lxf;a(Lui;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lacd;a(Lza;)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

      public int getAttachedEntityId()
      Mappings:
      Namespace Name Mixin selector
      official a Lacd;a()I
      intermediary method_11812 Lnet/minecraft/class_2740;method_11812()I
      named getAttachedEntityId Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;getAttachedEntityId()I
    • getHoldingEntityId

      public int getHoldingEntityId()
      Mappings:
      Namespace Name Mixin selector
      official d Lacd;d()I
      intermediary method_11810 Lnet/minecraft/class_2740;method_11810()I
      named getHoldingEntityId Lnet/minecraft/network/packet/s2c/play/EntityAttachS2CPacket;getHoldingEntityId()I