Class ResourcePackList

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class ResourcePackList
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Method Detail

      • reload

        public void reload()
      • discoverAvailable

        private java.util.Map<java.lang.String,​ResourcePackInfo> discoverAvailable()
      • setSelected

        public void setSelected​(java.util.Collection<java.lang.String> p_198985_1_)
      • rebuildSelected

        private java.util.List<ResourcePackInfo> rebuildSelected​(java.util.Collection<java.lang.String> p_232618_1_)
      • getAvailablePacks

        private java.util.stream.Stream<ResourcePackInfo> getAvailablePacks​(java.util.Collection<java.lang.String> p_232620_1_)
      • getAvailableIds

        public java.util.Collection<java.lang.String> getAvailableIds()
      • getAvailablePacks

        public java.util.Collection<ResourcePackInfo> getAvailablePacks()
      • getSelectedIds

        public java.util.Collection<java.lang.String> getSelectedIds()
      • getSelectedPacks

        public java.util.Collection<ResourcePackInfo> getSelectedPacks()
      • getPack

        @Nullable
        public ResourcePackInfo getPack​(java.lang.String p_198981_1_)
      • addPackFinder

        public void addPackFinder​(IPackFinder packFinder)
      • close

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

        public boolean isAvailable​(java.lang.String p_232617_1_)
      • openAllSelected

        public java.util.List<IResourcePack> openAllSelected()