use of de.canitzp.tumat.configuration.cats.ConfigCats in project TUMAT by canitzp.
the class GuiConf method getConfigElements.
private static List<IConfigElement> getConfigElements() {
List<IConfigElement> list = new ArrayList<>();
for (int i = 0; i < ConfigCats.values().length; i++) {
ConfigCats cat = ConfigCats.values()[i];
ConfigHandler.config.setCategoryComment(cat.name, cat.desc);
list.add(new ConfigElement(ConfigHandler.config.getCategory(cat.name)));
}
return list;
}
Aggregations