Class ResourcePackLoader.ModPathPackResources

All Implemented Interfaces:
AutoCloseable, PackResources, IForgePackResources
Enclosing class:
ResourcePackLoader

private static class ResourcePackLoader.ModPathPackResources extends PathPackResources
  • Field Details

    • mod

      private final net.minecraftforge.forgespi.locating.IModFile mod
    • prefix

      private final String[] prefix
  • Constructor Details

    • ModPathPackResources

      private ModPathPackResources(net.minecraftforge.forgespi.locating.IModFile mod, String... prefix)
  • Method Details

    • resolve

      @NotNull protected @NotNull Path resolve(@NotNull @NotNull String... paths)
      Description copied from class: PathPackResources
      Implement to return a file or folder path for the given set of path components.
      Overrides:
      resolve in class PathPackResources
      Parameters:
      paths - One or more path strings to resolve. Can include slash-separated paths.
      Returns:
      the resulting path, which may not exist.