cpw.mods.fml.client.config.GuiConfig Java Examples

The following examples show how to use cpw.mods.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 LetsModReboot with GNU General Public License v3.0 5 votes vote down vote up
public ModGuiConfig(GuiScreen guiScreen)
{
    super(guiScreen,
            new ConfigElement(ConfigurationHandler.configuration.getCategory(Configuration.CATEGORY_GENERAL)).getChildElements(),
            Reference.MOD_ID,
            false,
            false,
            GuiConfig.getAbridgedConfigPath(ConfigurationHandler.configuration.toString()));
}
 
Example #2
Source File: NovaGuiConfig.java    From NOVA-Core with GNU Lesser General Public License v3.0 4 votes vote down vote up
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 #3
Source File: ConfigGUI.java    From Et-Futurum with The Unlicense 4 votes vote down vote up
public ConfigGUI(GuiScreen parent) {
	super(parent, getElements(), Reference.MOD_ID, Reference.MOD_ID, false, false, GuiConfig.getAbridgedConfigPath(ConfigurationHandler.INSTANCE.configFile.toString()));
}
 
Example #4
Source File: GuiChiselConfig.java    From Chisel-2 with GNU General Public License v2.0 4 votes vote down vote up
public GuiChiselConfig(GuiScreen parent) {
	super(parent, new ConfigElement<ConfigCategory>(Configurations.config.getCategory(Configuration.CATEGORY_GENERAL)).getChildElements(), Chisel.MOD_ID, false, false, GuiConfig
			.getAbridgedConfigPath(Configurations.config.toString()));
}
 
Example #5
Source File: GuiChiselConfig.java    From Chisel with GNU General Public License v2.0 4 votes vote down vote up
public GuiChiselConfig(GuiScreen parent)
{
    super(parent, new ConfigElement(Configurations.config.getCategory(Configuration.CATEGORY_GENERAL)).getChildElements(), Chisel.MOD_ID, false, false, GuiConfig.getAbridgedConfigPath(Configurations.config.toString()));
}
 
Example #6
Source File: GuiConfigHandler.java    From PneumaticCraft with GNU General Public License v3.0 2 votes vote down vote up
public ConfigGui(GuiScreen parent){

            super(parent, getConfigElements(), Names.MOD_ID, false, false, GuiConfig.getAbridgedConfigPath(Config.config.toString()));
        }