getByEntityId

public PacketEntityInterface getByEntityId(int entityId)

Gets a packet entity by its entity ID.

Return

The packet entity, or null if not found

Parameters

entityId

The entity ID