listBPFiles

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

Arguments

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

Example

{
  "$template": {
    "test": "{{listBPFiles('entities', semver('1.17.30'))}}"
  }
}