Package net.uku3lig.ukulib.config.impl
Class UkulibConfig
java.lang.Object
net.uku3lig.ukulib.config.impl.UkulibConfig
- All Implemented Interfaces:
Serializable
The config class for ukulib
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs the configUkulibConfig(boolean buttonInOptions, boolean modMenuIntegration) Constructs the config -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigManager<UkulibConfig>The config manager for this configbooleanWhether to show the button in the options menubooleanWhether to enable the automatic mod menu integrationvoidsetButtonInOptions(boolean buttonInOptions) Whether to show the button in the options menuvoidsetModMenuIntegration(boolean modMenuIntegration) Whether to enable the automatic mod menu integration
-
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 menumodMenuIntegration- 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
The config manager for this config- Returns:
- The config manager
-