Class AssetCollection<T extends PackAsset>

    • Constructor Detail

      • AssetCollection

        public AssetCollection​(ItemModsPack parent)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • AssetCollection

        public AssetCollection​(ItemModsPack parent,
                               java.util.Set<T> assets)
                        throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getAssets

        public java.util.Set<T> getAssets()
      • getAssetsAsList

        public java.util.List<T> getAssetsAsList()
      • registerAsset

        public void registerAsset​(T asset)
      • getAsset

        public T getAsset​(java.lang.String name)
      • unregisterAsset

        public void unregisterAsset​(java.lang.String assetName)
      • stream

        public java.util.stream.Stream<T> stream()
      • reload

        public void reload()
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • clear

        public void clear()