Class ClientboundSetEntityLinkPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundSetEntityLinkPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundSetEntityLinkPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
static final StreamCodec
<FriendlyByteBuf, ClientboundSetEntityLinkPacket> -
Constructor Summary
ModifierConstructorDescriptionprivate
ClientboundSetEntityLinkPacket
(FriendlyByteBuf p_179292_) ClientboundSetEntityLinkPacket
(Entity p_133164_, Entity p_133165_) -
Method Summary
Modifier and TypeMethodDescriptionint
int
void
handle
(ClientGamePacketListener p_133171_) type()
private void
write
(FriendlyByteBuf p_133174_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
-
sourceId
private final int sourceId -
destId
private final int destId
-
-
Constructor Details
-
ClientboundSetEntityLinkPacket
-
ClientboundSetEntityLinkPacket
-
-
Method Details
-
write
-
type
- Specified by:
type
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getSourceId
public int getSourceId() -
getDestId
public int getDestId()
-