當前位置: 首頁>>代碼示例>>Java>>正文


Java GuiConfig.getAbridgedConfigPath方法代碼示例

本文整理匯總了Java中cpw.mods.fml.client.config.GuiConfig.getAbridgedConfigPath方法的典型用法代碼示例。如果您正苦於以下問題:Java GuiConfig.getAbridgedConfigPath方法的具體用法?Java GuiConfig.getAbridgedConfigPath怎麽用?Java GuiConfig.getAbridgedConfigPath使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在cpw.mods.fml.client.config.GuiConfig的用法示例。


在下文中一共展示了GuiConfig.getAbridgedConfigPath方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: buildChildScreen

import cpw.mods.fml.client.config.GuiConfig; //導入方法依賴的package包/類
@Override
protected GuiScreen buildChildScreen()
{
    List<IConfigElement> list = new ArrayList<IConfigElement>();
    
    list.add(new DummyCategoryElement("forgeChunkLoadingModCfg", "forge.configgui.ctgy.forgeChunkLoadingModConfig", 
            ModOverridesEntry.class));
    list.addAll((new ConfigElement(ForgeChunkManager.getDefaultsCategory())).getChildElements());
    
    // This GuiConfig object specifies the configID of the object and as such will force-save when it is closed. The parent
    // GuiConfig object's propertyList will also be refreshed to reflect the changes.
    return new GuiConfig(this.owningScreen, list, this.owningScreen.modID, "chunkLoader", 
            this.configElement.requiresWorldRestart() || this.owningScreen.allRequireWorldRestart, 
            this.configElement.requiresMcRestart() || this.owningScreen.allRequireMcRestart,
            GuiConfig.getAbridgedConfigPath(ForgeChunkManager.getConfig().toString()),
            I18n.func_135052_a("forge.configgui.ctgy.forgeChunkLoadingConfig"));
}
 
開發者ID:SchrodingersSpy,項目名稱:TRHS_Club_Mod_2016,代碼行數:18,代碼來源:ForgeGuiFactory.java

示例2: GuiScreenModConfig

import cpw.mods.fml.client.config.GuiConfig; //導入方法依賴的package包/類
public GuiScreenModConfig(GuiScreen parent) {
	super(parent, new ConfigElement(
					ConfigHandler.cfg.getCategory(Configuration.CATEGORY_GENERAL))
					.getChildElements(), GimmeTime.MOD_ID, false, false, GuiConfig
					.getAbridgedConfigPath(ConfigHandler.cfg.toString()),
			StatCollector.translateToLocalFormatted(
					"gui.config.subtitle",
					GameSettings.getKeyDisplayString(KeyHandler.INSTANCE.clock.getKeyCode())));
}
 
開發者ID:iTitus,項目名稱:GimmeTime,代碼行數:10,代碼來源:GuiScreenModConfig.java

示例3: ModGuiConfig

import cpw.mods.fml.client.config.GuiConfig; //導入方法依賴的package包/類
public ModGuiConfig(GuiScreen guiScreen)
{
    //noinspection unchecked
    super(guiScreen,
            new ConfigElement(ConfigurationHandler.configuration.getCategory(Configuration.CATEGORY_GENERAL)).getChildElements(),
            Reference.MOD_ID,
            false,
            false,
            GuiConfig.getAbridgedConfigPath(ConfigurationHandler.configuration.toString()));
}
 
開發者ID:samvbeckmann,項目名稱:network,代碼行數:11,代碼來源:ModGuiConfig.java

示例4: buildChildScreen

import cpw.mods.fml.client.config.GuiConfig; //導入方法依賴的package包/類
@Override
protected GuiScreen buildChildScreen()
{
    // This GuiConfig object specifies the configID of the object and as such will force-save when it is closed. The parent
    // GuiConfig object's entryList will also be refreshed to reflect the changes.
    return new GuiConfig(this.owningScreen, 
            (new ConfigElement(ForgeModContainer.getConfig().getCategory(Configuration.CATEGORY_GENERAL))).getChildElements(), 
            this.owningScreen.modID, Configuration.CATEGORY_GENERAL, this.configElement.requiresWorldRestart() || this.owningScreen.allRequireWorldRestart, 
            this.configElement.requiresMcRestart() || this.owningScreen.allRequireMcRestart,
            GuiConfig.getAbridgedConfigPath(ForgeModContainer.getConfig().toString()));
}
 
開發者ID:alexandrage,項目名稱:CauldronGit,代碼行數:12,代碼來源:ForgeGuiFactory.java

示例5: ModGuiConfig

import cpw.mods.fml.client.config.GuiConfig; //導入方法依賴的package包/類
public ModGuiConfig(GuiScreen parentScreen) {
	super(parentScreen, new ConfigElement(
			ConfigurationHandler.configuration
					.getCategory(Configuration.CATEGORY_GENERAL))
			.getChildElements(), Reference.MOD_ID, false, false, GuiConfig
			.getAbridgedConfigPath(ConfigurationHandler.configuration
					.toString()));
}
 
開發者ID:Nincraft,項目名稱:NinsTiCModifiers,代碼行數:9,代碼來源:ModGuiConfig.java

示例6: ConfigGui

import cpw.mods.fml.client.config.GuiConfig; //導入方法依賴的package包/類
public  ConfigGui(GuiScreen guiScreen){
    super(guiScreen,
            new ConfigElement(ConfigurationHandler.configuration.getCategory(Configuration.CATEGORY_GENERAL)).getChildElements(),
            Reference.MOD_ID,
            false,
            false,
            GuiConfig.getAbridgedConfigPath(ConfigurationHandler.configuration.toString()));
}
 
開發者ID:BLUESHADOW2020,項目名稱:BLUESHADOW2020-LearningToMod,代碼行數:9,代碼來源:ConfigGui.java

示例7: buildChildScreen

import cpw.mods.fml.client.config.GuiConfig; //導入方法依賴的package包/類
@Override
protected GuiScreen buildChildScreen()
{
	return new GuiConfig(owningScreen,
			new ConfigElement(Mekanism.configuration.getCategory(Configuration.CATEGORY_GENERAL)).getChildElements(),
			owningScreen.modID, Configuration.CATEGORY_GENERAL, false, false,
			GuiConfig.getAbridgedConfigPath(Mekanism.configuration.toString()));
}
 
開發者ID:Microsoft,項目名稱:vsminecraft,代碼行數:9,代碼來源:GuiMekanismConfig.java

示例8: ModGuiConfig

import cpw.mods.fml.client.config.GuiConfig; //導入方法依賴的package包/類
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()));
	
}
 
開發者ID:WolfDevMC,項目名稱:Necromanteion-Mod,代碼行數:11,代碼來源:ModGuiConfig.java

示例9: buildChildScreen

import cpw.mods.fml.client.config.GuiConfig; //導入方法依賴的package包/類
@Override
protected GuiScreen buildChildScreen()
{
	return new GuiConfig(owningScreen,
			new ConfigElement(Mekanism.configuration.getCategory("tools.general")).getChildElements(),
			owningScreen.modID, Configuration.CATEGORY_GENERAL, configElement.requiresWorldRestart() || owningScreen.allRequireWorldRestart,
			configElement.requiresMcRestart() || owningScreen.allRequireMcRestart,
			GuiConfig.getAbridgedConfigPath(Mekanism.configuration.toString()));
}
 
開發者ID:Microsoft,項目名稱:vsminecraft,代碼行數:10,代碼來源:GuiToolsConfig.java

示例10: ModGuiConfig

import cpw.mods.fml.client.config.GuiConfig; //導入方法依賴的package包/類
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()));
}
 
開發者ID:Tamfoolery,項目名稱:HitchhikersGuideToMinecraft,代碼行數:10,代碼來源:ModGuiConfig.java

示例11: ConfigGUI

import cpw.mods.fml.client.config.GuiConfig; //導入方法依賴的package包/類
public ConfigGUI(GuiScreen parentScreen)
{
    super(parentScreen, new ConfigElement(KorTech.config.getCategory(Configuration.CATEGORY_GENERAL)).getChildElements(),
            References.MODID, false, false, GuiConfig.getAbridgedConfigPath(KorTech.config.toString()));
}
 
開發者ID:koravel,項目名稱:ElementalElaboration,代碼行數:6,代碼來源:ConfigGUI.java

示例12: ConfigGUI

import cpw.mods.fml.client.config.GuiConfig; //導入方法依賴的package包/類
public ConfigGUI(GuiScreen parent) {
	super(parent, getElements(), Reference.MOD_ID, Reference.MOD_ID, false, false, GuiConfig.getAbridgedConfigPath(ConfigurationHandler.INSTANCE.configFile.toString()));
}
 
開發者ID:jm-organization,項目名稱:connor41-etfuturum2,代碼行數:4,代碼來源:ConfigGUI.java

示例13: ConfigGui

import cpw.mods.fml.client.config.GuiConfig; //導入方法依賴的package包/類
public ConfigGui(final @Nullable GuiScreen parent) {
	super(parent, getConfigElements(), Reference.MODID, false, false, GuiConfig.getAbridgedConfigPath(Config.getConfig().getFilePath()));
}
 
開發者ID:Team-Fruit,項目名稱:SignPicture,代碼行數:4,代碼來源:ConfigGui.java

示例14: GuiFWConfig

import cpw.mods.fml.client.config.GuiConfig; //導入方法依賴的package包/類
public GuiFWConfig(GuiScreen screen) {
	super(screen, new ConfigElement(FissionWarfare.config.getCategory(Configuration.CATEGORY_GENERAL)).getChildElements(), Reference.MOD_ID, false, false, GuiConfig.getAbridgedConfigPath(FissionWarfare.config.toString()));
}
 
開發者ID:TeamMonumental,項目名稱:FissionWarfare,代碼行數:4,代碼來源:GuiFWConfig.java

示例15: ConfigGui

import cpw.mods.fml.client.config.GuiConfig; //導入方法依賴的package包/類
public ConfigGui(final GuiScreen parent) {
	super(parent, getConfigElements(), Reference.MODID, false, false, GuiConfig.getAbridgedConfigPath(ConfigHandler.instance.getFilePath()));
}
 
開發者ID:Team-Fruit,項目名稱:EEWReciever,代碼行數:4,代碼來源:ConfigGui.java


注:本文中的cpw.mods.fml.client.config.GuiConfig.getAbridgedConfigPath方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。