use of net.minecraftforge.fml.client.config.DummyConfigElement.DummyCategoryElement in project BiomesOPlenty by Glitchfiend.
the class GuiBOPFactory method getConfigElements.
private static List<IConfigElement> getConfigElements() {
List<IConfigElement> list = new ArrayList<IConfigElement>();
List<IConfigElement> convenience_settings = new ConfigElement(GameplayConfigurationHandler.config.getCategory(CONVENIENCE_SETTINGS.toLowerCase())).getChildElements();
List<IConfigElement> gui_settings = new ConfigElement(config.getCategory(GUI_SETTINGS.toLowerCase())).getChildElements();
List<IConfigElement> texture_settings = new ConfigElement(config.getCategory(VISUAL_SETTINGS.toLowerCase())).getChildElements();
List<IConfigElement> trail_settings = new ConfigElement(config.getCategory(TRAIL_SETTINGS.toLowerCase())).getChildElements();
list.add(new DummyCategoryElement(I18n.translateToLocal("config.category.convenienceSettings.title"), "config.category.convenienceSettings", convenience_settings));
list.add(new DummyCategoryElement(I18n.translateToLocal("config.category.guiSettings.title"), "config.category.guiSettings", gui_settings));
list.add(new DummyCategoryElement(I18n.translateToLocal("config.category.textureSettings.title"), "config.category.textureSettings", texture_settings));
if (TrailManager.trailsMap.containsKey(PlayerUtil.getClientPlayerUUID())) {
list.add(new DummyCategoryElement(I18n.translateToLocal("config.category.trailSettings.title"), "config.category.trailSettings", trail_settings));
}
return list;
}
use of net.minecraftforge.fml.client.config.DummyConfigElement.DummyCategoryElement in project Cavern2 by kegare.
the class MirageWorldsConfigEntry method getConfigElements.
@Override
protected List<IConfigElement> getConfigElements() {
List<IConfigElement> list = Lists.newArrayList();
list.add(new DummyCategoryElement("cavern:cavelandConfig", Config.LANG_KEY + "dimension.caveland", CavelandConfigEntry.class));
list.add(new DummyCategoryElement("cavern:caveniaConfig", Config.LANG_KEY + "dimension.cavenia", CaveniaConfigEntry.class));
list.addAll(super.getConfigElements());
return list;
}
use of net.minecraftforge.fml.client.config.DummyConfigElement.DummyCategoryElement in project Cavern2 by kegare.
the class AquaCavernConfigEntry method getConfigElements.
@Override
protected List<IConfigElement> getConfigElements() {
List<IConfigElement> ret = super.getConfigElements();
ret.add(new DummyCategoryElement("cavern:aquaCavernBiomes", Config.LANG_KEY + "biomes", AquaCavernBiomesEntry.class));
ret.add(new DummyCategoryElement("cavern:aquaCavernVeins", Config.LANG_KEY + "veins", AquaCavernVeinsEntry.class));
return ret;
}
use of net.minecraftforge.fml.client.config.DummyConfigElement.DummyCategoryElement in project Cavern2 by kegare.
the class CaveniaConfigEntry method getConfigElements.
@Override
protected List<IConfigElement> getConfigElements() {
List<IConfigElement> ret = super.getConfigElements();
ret.add(new DummyCategoryElement("cavern:caveniaBiomes", Config.LANG_KEY + "biomes", CaveniaBiomesEntry.class));
ret.add(new DummyCategoryElement("cavern:caveniaVeins", Config.LANG_KEY + "veins", CaveniaVeinsEntry.class));
return ret;
}
use of net.minecraftforge.fml.client.config.DummyConfigElement.DummyCategoryElement in project Cavern2 by kegare.
the class CaveConfigGui method getConfigElements.
private static List<IConfigElement> getConfigElements() {
List<IConfigElement> list = Lists.newArrayList();
list.add(new DummyCategoryElement("cavern:generalConfig", Config.LANG_KEY + Configuration.CATEGORY_GENERAL, GeneralConfigEntry.class));
list.add(new DummyCategoryElement("cavern:displayConfig", Config.LANG_KEY + "display", DisplayConfigEntry.class));
list.add(new DummyCategoryElement("cavern:miningAssistConfig", Config.LANG_KEY + "miningassist", MiningAssistConfigEntry.class));
list.add(new DummyCategoryElement("cavern:dimensionConfig", Config.LANG_KEY + "dimension", DimensionConfigEntry.class));
return list;
}
Aggregations