net.minecraft.network.protocol.game

public class ClientboundSetEntityLinkPacket

implements Packet<ClientGamePacketListener>

afa
net.minecraft.network.protocol.game.ClientboundSetEntityLinkPacket
net.minecraft.class_2740
net.minecraft.network.packet.s2c.play.EntityAttachS2CPacket
net.minecraft.src.C_5117_
net.minecraft.network.protocol.game.PacketPlayOutAttachEntity

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_55927(class_2540 arg0)
write(PacketByteBuf buf)
m_133173_(C_4983_ arg0)
public PacketType<ClientboundSetEntityLinkPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(abu arg0)
handle(ClientGamePacketListener arg0)
method_11811(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public int
b()
getSourceId()
method_11812()
getAttachedEntityId()
m_133172_()
public int
e()
getDestId()
method_11810()
getHoldingEntityId()
m_133175_()