Interface IResourcePack

    • Method Detail

      • getRootResource

        java.io.InputStream getRootResource​(java.lang.String p_195763_1_)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • getResource

        java.io.InputStream getResource​(ResourcePackType p_195761_1_,
                                        ResourceLocation p_195761_2_)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • getResources

        java.util.Collection<ResourceLocation> getResources​(ResourcePackType p_225637_1_,
                                                            java.lang.String p_225637_2_,
                                                            java.lang.String p_225637_3_,
                                                            int p_225637_4_,
                                                            java.util.function.Predicate<java.lang.String> p_225637_5_)
      • getNamespaces

        java.util.Set<java.lang.String> getNamespaces​(ResourcePackType p_195759_1_)
      • getMetadataSection

        @Nullable
        <T> T getMetadataSection​(IMetadataSectionSerializer<T> p_195760_1_)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • getName

        java.lang.String getName()
      • close

        void close()
        Specified by:
        close in interface java.lang.AutoCloseable