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
-
Constructor Summary
ConstructorDescriptionClientboundSetEntityLinkPacket(FriendlyByteBuf p_179292_)
ClientboundSetEntityLinkPacket(Entity p_133164_, Entity p_133165_)
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
handle(ClientGamePacketListener p_133171_)
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
-
Field Details
-
sourceId
private final int sourceId -
destId
private final int destId
-
-
Constructor Details
-
ClientboundSetEntityLinkPacket
-
ClientboundSetEntityLinkPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getSourceId
public int getSourceId() -
getDestId
public int getDestId()
-