Class StructurePacks.Category

java.lang.Object
com.ldtteam.structurize.storage.StructurePacks.Category
Enclosing class:
StructurePacks

public static class StructurePacks.Category extends Object
The representation of a structure pack category (a folder).
  • Field Details

    • packMeta

      public StructurePackMeta packMeta
      The pack meta the category belongs to.
    • subPath

      public String subPath
      The sub-path of the category.
    • hasIcon

      public boolean hasIcon
      If the category has its own icon.
    • isTerminal

      public boolean isTerminal
      If the category does not have further sub-categories.
    • isCurrent

      public boolean isCurrent
      If this is a special "current folder" terminal category.
  • Constructor Details

    • Category

      public Category()
      Create an empty category.
    • Category

      public Category(StructurePackMeta packMeta, Path subPath, boolean hasIcon, boolean isTerminal, boolean isCurrent)
      Create a new category.
      Parameters:
      packMeta - the structure pack it belongs to.
      subPath - the sub path.
      hasIcon - if it has an icon.
      isTerminal - if it's terminal (no further sub-folders).
      isCurrent - if it's a "current directory" subcategory.
  • Method Details