net.minecraftforge.fml.client.config.GuiConfig Java Examples
The following examples show how to use
net.minecraftforge.fml.client.config.GuiConfig.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ModGuiConfig.java From Fullscreen-Windowed-Minecraft with BSD 2-Clause "Simplified" License | 5 votes |
public ModGuiConfig (GuiScreen parentScreen) { super(parentScreen, new ConfigElement(ConfigurationHandler.instance().getConfigurationCategory()).getChildElements(), Reference.MOD_ID, false, false, GuiConfig.getAbridgedConfigPath(ConfigurationHandler.instance().toString())); }
Example #2
Source File: OpenModsConfigScreen.java From OpenModsLib with MIT License | 5 votes |
@Override protected GuiScreen buildChildScreen() { return new GuiConfig(this.owningScreen, this.configElement.getChildElements(), this.owningScreen.modID, owningScreen.allRequireWorldRestart || this.configElement.requiresWorldRestart(), owningScreen.allRequireMcRestart || this.configElement.requiresMcRestart(), this.owningScreen.title, I18n.format("openmodslib.config.update_warning")); }
Example #3
Source File: NovaGuiConfig.java From NOVA-Core with GNU Lesser General Public License v3.0 | 4 votes |
public NovaGuiConfig(GuiScreen parentScreen, Configuration config, String modID) { super(parentScreen, new ConfigElement(config.getCategory(Configuration.CATEGORY_GENERAL)).getChildElements(), modID, false, false, GuiConfig.getAbridgedConfigPath(config.toString())); }
Example #4
Source File: NovaGuiConfig.java From NOVA-Core with GNU Lesser General Public License v3.0 | 4 votes |
public NovaGuiConfig(GuiScreen parentScreen, Configuration config, String modID) { super(parentScreen, new ConfigElement(config.getCategory(Configuration.CATEGORY_GENERAL)).getChildElements(), modID, false, false, GuiConfig.getAbridgedConfigPath(config.toString())); }
Example #5
Source File: AgriCraftGuiConfig.java From AgriCraft with MIT License | 4 votes |
public AgriCraftGuiConfig(GuiScreen guiScreen) { super(guiScreen, getConfigElements(), Reference.MOD_ID, false, false, GuiConfig.getAbridgedConfigPath(AgriCore.getConfig().getLocation())); }
Example #6
Source File: EnderUtilitiesGuiFactory.java From enderutilities with GNU Lesser General Public License v3.0 | 4 votes |
@Override public GuiScreen createConfigGui(GuiScreen parent) { return new GuiConfig(parent, getConfigElements(), Reference.MOD_ID, false, false, getTitle()); }
Example #7
Source File: EnderUtilitiesGuiFactory.java From enderutilities with GNU Lesser General Public License v3.0 | 4 votes |
private static String getTitle() { return GuiConfig.getAbridgedConfigPath(ConfigReader.getConfigFile().toString()); }
Example #8
Source File: GuiConfigSimple.java From LunatriusCore with MIT License | 4 votes |
public GuiConfigSimple(final GuiScreen guiScreen, final String modID, final Configuration configuration, final String categoryName) { super(guiScreen, getConfigElements(configuration, categoryName), modID, false, false, GuiConfig.getAbridgedConfigPath(configuration.toString())); }
Example #9
Source File: GuiConfigComplex.java From LunatriusCore with MIT License | 4 votes |
public GuiConfigComplex(final GuiScreen parent, final String modID, final Configuration configuration, final String langPrefix) { super(parent, getConfigElements(configuration, langPrefix), modID, false, false, GuiConfig.getAbridgedConfigPath(configuration.toString())); }
Example #10
Source File: ConfigGUI.java From VersionChecker with GNU Lesser General Public License v3.0 | 4 votes |
public ConfigGUI(GuiScreen parent) { super(parent, new ConfigElement(ConfigHandler.configFile.getCategory(Configuration.CATEGORY_GENERAL)).getChildElements(), Reference.MOD_ID, false, false, GuiConfig.getAbridgedConfigPath(ConfigHandler.configFile.toString())); }
Example #11
Source File: OpenModsConfigScreen.java From OpenModsLib with MIT License | 4 votes |
public EntryWithWarning(GuiConfig owningScreen, GuiConfigEntries owningEntryList, IConfigElement configElement) { super(owningScreen, owningEntryList, configElement); }