Class FileResourcePackLoader

  • All Implemented Interfaces:
    ResourcePackLoader

    public class FileResourcePackLoader
    extends java.lang.Object
    implements ResourcePackLoader
    Looks for resource packs in the path "/.json" or with a ".gz" extension if the compression flag is set.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ResourcePack get​(java.lang.String language)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileResourcePackLoader

        public FileResourcePackLoader​(java.nio.file.Path directory)
      • FileResourcePackLoader

        public FileResourcePackLoader​(java.nio.file.Path directory,
                                      boolean compressed)