net.minecraft.network.packet.s2c.play

public class EntityAttachS2CPacket

implements Packet<ClientPlayPacketListener>

net.minecraft.network.protocol.game.ClientboundSetEntityLinkPacket
net.minecraft.class_2740
net.minecraft.network.packet.s2c.play.EntityAttachS2CPacket

Field summary

Modifier and TypeField
public static final PacketCodec<PacketByteBuf, EntityAttachS2CPacket>
STREAM_CODEC
field_47980
CODEC
private final int
sourceId
field_12479
attachedEntityId
private final int
destId
field_12478
holdingEntityId

Constructor summary

ModifierConstructor
public (Entity attachedEntity, Entity holdingEntity)
private (PacketByteBuf buf)

Method summary

Modifier and TypeMethod
private void
write(FriendlyByteBuf output)
method_55927(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<EntityAttachS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
method_11811(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
getSourceId()
method_11812()
getAttachedEntityId()
public int
getDestId()
method_11810()
getHoldingEntityId()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)