Interface IStringSetting<S>

All Superinterfaces:
ISetting<S>
All Known Implementing Classes:
BeekeeperCollectionSetting, BuilderModeSetting, CrafterRecipeSetting, GuardFollowModeSetting, GuardPatrolModeSetting, GuardTaskSetting, StringSetting, StringSettingWithDesc

public interface IStringSetting<S> extends ISetting<S>
String Setting.
  • Method Details

    • getValue

      S getValue()
      Get the setting value.
      Specified by:
      getValue in interface ISetting<S>
      Returns:
      the current value.
    • getDefault

      S getDefault()
      Get the default value.
      Returns:
      the default value.
    • getCurrentIndex

      int getCurrentIndex()
      Get the current index of the setting.
      Returns:
      the index.
    • getSettings

      List<String> getSettings()
      Get the list of all settings.
      Returns:
      a copy of the list.
    • set

      void set(S value)
      Set the setting to a specific index.
      Parameters:
      value - the value to set.