net.minecraft.network.protocol.game

public class ClientboundSetEntityLinkPacket

implements Packet<ClientGamePacketListener>

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

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundSetEntityLinkPacket>
a
STREAM_CODEC
field_47980
CODEC
private final int
b
sourceId
field_12479
attachedEntityId
private final int
c
destId
field_12478
holdingEntityId

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_55927(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundSetEntityLinkPacket>
a()
type()
method_65080()
getPacketType()
public void
a(abl arg0)
handle(ClientGamePacketListener arg0)
method_11811(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
b()
getSourceId()
method_11812()
getAttachedEntityId()
public int
e()
getDestId()
method_11810()
getHoldingEntityId()