Class UkulibConfig

java.lang.Object
net.uku3lig.ukulib.config.impl.UkulibConfig
All Implemented Interfaces:
Serializable

public class UkulibConfig extends Object implements Serializable
The config class for ukulib
See Also:
  • Constructor Details

    • UkulibConfig

      public UkulibConfig()
      Constructs the config
    • UkulibConfig

      public UkulibConfig(boolean buttonInOptions, boolean modMenuIntegration)
      Constructs the config
      Parameters:
      buttonInOptions - Whether to show the button in the options menu
      modMenuIntegration - Whether to enable the automatic mod menu integration
  • Method Details

    • isButtonInOptions

      public boolean isButtonInOptions()
      Whether to show the button in the options menu
      Returns:
      the current value
    • isModMenuIntegration

      public boolean isModMenuIntegration()
      Whether to enable the automatic mod menu integration
      Returns:
      the current value
    • setButtonInOptions

      public void setButtonInOptions(boolean buttonInOptions)
      Whether to show the button in the options menu
      Parameters:
      buttonInOptions - the new value
    • setModMenuIntegration

      public void setModMenuIntegration(boolean modMenuIntegration)
      Whether to enable the automatic mod menu integration
      Parameters:
      modMenuIntegration - the new value
    • getManager

      public static ConfigManager<UkulibConfig> getManager()
      The config manager for this config
      Returns:
      The config manager