Posted October 12, 201410 yr I am wondering how I can go about rearranging everything in my config in the order I would like. It seems forge is automatically arranging everything alphabetically. It's still perfectly functional but things are just out of logical order. "copper ore" { I:"Average veins per chunk"=50 B:"Generate Copper Ore"=true I:"Max Y"=128 I:"Max vein size"=8 I:"Min Y"=0 I:"Minimum vein size"=3 } public class ooConfig { public static boolean generate_Copper; public static int veins_Copper; public static int minveinSize_Copper; public static int maxveinSize_Copper; public static int minY_Copper; public static int maxY_Copper; public static void config() { Configuration config = new Configuration(new File("config/OreOverhaul.cfg")); config.load(); generate_Copper = config.get("Copper Ore", "Generate Copper Ore", true).getBoolean(); veins_Copper = config.get("Copper Ore", "Average veins per chunk", 20).getInt(); minveinSize_Copper = config.get("Copper Ore", "Minimum vein size", 3).getInt(); maxveinSize_Copper = config.get("Copper Ore", "Max vein size", .getInt(); minY_Copper = config.get("Copper Ore", "Min Y", 0).getInt(); maxY_Copper = config.get("Copper Ore", "Max Y", 128).getInt(); config.save(); }
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.