listRPFiles

Returns an array of paths to the latest files in resource pack within given path.

Arguments

  • path - The path to the directory inside resource pack.
  • version - The version of Minecraft vanilla files to search for.

Example

{
  "$template": {
    "test": "{{listRPFiles('entity', semver('1.17.30'))}}"
  }
}