function getTileEntityId(subtree, implicitCoordinates) {
  if (!defined(subtree._tileMetadataTable)) {
    return undefined;
  }

  const tileIndex = subtree.getTileIndex(implicitCoordinates);
  if (subtree._tileAvailability.getBit(tileIndex)) {
    return subtree._tileJumpBuffer[tileIndex];
  }

  return undefined;
}
Get the entity ID for a tile within this subtree.
@param {ImplicitSubtree} subtree The subtree
@param {ImplicitTileCoordinates} implicitCoordinates The global coordinates of a tile
@return {number} The entity ID for this tile for accessing tile metadata, or <code>undefined</code> if not applicable.

@private