/**
* This loads all of the data from the config file.
*/
public static void LoadAll(FMLPreInitializationEvent event)
{
config = new Configuration(event.getSuggestedConfigurationFile());
config.getConfigFile();
config.load();
config.save();
config.addCustomCategoryComment("Blocks", "Contains some settings about blocks.");
config.addCustomCategoryComment("ID", "Some settings to do with ID's");
config.addCustomCategoryComment("OreGeneration", "Contains some settings that are centered around ore generation");
config.addCustomCategoryComment("Minecraft", "Contains some settings that affect what this mod does when minecraft is loaded");
config.addCustomCategoryComment("Other", "Settings that don't fit in any other catagories");
config.addCustomCategoryComment("ProjectE", "Contains settings which affect ProjectE and this mod.");
config.addCustomCategoryComment("Extra Utilities", "Adds settings which affect Extra Utilities and this mod.");
config.addCustomCategoryComment("AutoBlocks", "A section which contains all of the auto blocks for this mod");
config.addCustomCategoryComment("AutoItem", "A section which contains all of the auto items for this mod");
config.load();
config.save();
Write();
HandleCompat();
config.save();
}
ModConfig.java 文件源码
java
阅读 28
收藏 0
点赞 0
评论 0
项目:BIGB
作者:
评论列表
文章目录