Class RedstoneSection<T extends IConfigSectionResult>

java.lang.Object
nl.pim16aap2.animatedarchitecture.core.config.ConfigSection<T>
nl.pim16aap2.animatedarchitecture.core.config.RedstoneSection<T>
Type Parameters:
T - the type of result this section produces.
Direct Known Subclasses:
RedstoneSectionSpigot

public abstract class RedstoneSection<T extends IConfigSectionResult> extends ConfigSection<T>
Represents a section in the configuration file that governs the redstone settings.
  • Field Details

  • Constructor Details

    • RedstoneSection

      public RedstoneSection()
  • Method Details

    • buildInitialLimitsNode

      public org.spongepowered.configurate.CommentedConfigurationNode buildInitialLimitsNode() throws org.spongepowered.configurate.serialize.SerializationException
      Description copied from class: ConfigSection
      Builds the initial limits node for this configuration section.

      This method is responsible for creating the initial configuration node for this section, including any default values and comments.

      Specified by:
      buildInitialLimitsNode in class ConfigSection<T extends IConfigSectionResult>
      Returns:
      the initial limits node for this section
      Throws:
      org.spongepowered.configurate.serialize.SerializationException - if an error occurs during serialization
    • getSectionTitle

      public String getSectionTitle()
      Description copied from class: ConfigSection
      Returns the title of the configuration section.
      Specified by:
      getSectionTitle in class ConfigSection<T extends IConfigSectionResult>
      Returns:
      the title of the section