当前位置: 首页>>代码示例>>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;未经允许,请勿转载。