use of com.agricraft.agricore.config.AgriConfigCategory in project AgriCraft by AgriCraft.
the class AgriCraftGuiConfig method getConfigElements.
private static List<IConfigElement> getConfigElements() {
List<IConfigElement> configElements = new ArrayList<>();
for (AgriConfigCategory e : AgriConfigCategory.values()) {
String descr = "AgriCraft " + e.getDisplayName() + " Settings";
String name = "agricraft.configgui.ctgy." + e.name();
configElements.add(new DummyConfigElement.DummyCategoryElement(descr, name, new ConfigElement(CoreHandler.getConfig().getCategory(e.name().toLowerCase())).getChildElements()));
}
return configElements;
}
Aggregations