• Returns the mod version of a given resource path.

    Parameters

    • path: string

      The current path of this resource.

    • resourceData: default

      The resource data of this path type.

    • index: number

      The index of this resource.

    • Optional customPath: string

      Replaces the imagePath of the description.

      Steps taken:

      1. If the path is not a mod-added resource, it will return the given path. Otherwise:
      2. If the description has a custom path stored in imagePath, the given path is replaced with this path.
      3. Return {modManager.getPath(modIndex)}/{path}

    Returns string

Generated using TypeDoc