Class PackManager


  • public class PackManager
    extends java.lang.Object
    • Constructor Detail

      • PackManager

        public PackManager()
    • Method Detail

      • hasNoPreset

        public boolean hasNoPreset()
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • reload

        public void reload()
      • save

        public void save()
      • save

        public void save​(java.lang.String namespace)
      • getPacks

        @NotNull
        public @NotNull java.util.List<ItemModsPack> getPacks()
      • getInactivePacks

        @NotNull
        public @NotNull java.util.List<ItemModsPack> getInactivePacks()
      • getPackNames

        public java.util.Set<java.lang.String> getPackNames()
      • registerPack

        public void registerPack​(@NotNull
                                 @NotNull ItemModsPack pack)
      • unregisterPack

        public void unregisterPack​(java.lang.String name)
      • activatePack

        public void activatePack​(java.lang.String name)
      • deactivatePack

        public void deactivatePack​(java.lang.String name)
      • deletePack

        public void deletePack​(java.lang.String name)
      • getPackPath

        @NotNull
        public @NotNull java.nio.file.Path getPackPath()
      • getPack

        @Nullable
        public @Nullable ItemModsPack getPack​(java.lang.String name)
      • export

        public void export​(java.lang.String variation)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • isActivated

        public boolean isActivated​(java.lang.String name)
      • zip

        public void zip​(java.lang.String name)
                 throws java.io.IOException
        Throws:
        java.io.IOException