@ApiStatus.Internal public class ConfigManagerImpl extends java.lang.Object implements ConfigManager
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfigManagerImpl.ConfigErrorScreen |
| Constructor and Description |
|---|
ConfigManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
ConfigObjectImpl |
getConfig() |
net.minecraft.client.gui.screen.Screen |
getConfigScreen(net.minecraft.client.gui.screen.Screen parent)
Gets the config screen
|
boolean |
isCraftableOnlyEnabled()
Gets if craftable only filter is enabled
|
void |
saveConfig()
Saves the config.
|
void |
toggleCraftableOnly()
Toggles the craftable only filter
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInstance, openConfigScreenpublic void saveConfig()
ConfigManagersaveConfig in interface ConfigManagerpublic ConfigObjectImpl getConfig()
getConfig in interface ConfigManagerpublic boolean isCraftableOnlyEnabled()
ConfigManagerisCraftableOnlyEnabled in interface ConfigManagerpublic void toggleCraftableOnly()
ConfigManagertoggleCraftableOnly in interface ConfigManagerpublic net.minecraft.client.gui.screen.Screen getConfigScreen(net.minecraft.client.gui.screen.Screen parent)
ConfigManagergetConfigScreen in interface ConfigManagerparent - the screen shown before