Interface IStructureSubSection

All Known Subinterfaces:
IStructureSubSectionFlag
All Known Implementing Classes:
StructureSubSection, StructureSubSectionFlagSpigot, StructureSubSectionSpigot

public interface IStructureSubSection
Represents a subsection of StructuresSection in the configuration.

This interface is used to define a subsection for a specific structure type.

  • Method Details

    • getStructureType

      StructureType getStructureType()
      Returns the structure type this subsection is for.
      Returns:
      the structure type this subsection is associated with.
    • getConfigurationOptions

      List<StructureTypeConfigurationOption<?>> getConfigurationOptions()
      Gets the configuration options for this structure type.
      Returns:
      a list of configuration options for this structure type.
    • getSectionTitle

      default String getSectionTitle()
      Returns the title of the section.

      This is typically the full key of the structure type.

      Returns:
      the title of the section.