Posted August 2, 201312 yr Is it possible to have a separate Config.class and put all my configs in a separate method in there, and just call the class in my Pre-Init event with something like this: Config config = new Config(); config.configure();
August 2, 201312 yr Yes. You would add something like this to the preInit: @EventHandler public void preInit(FMLPreInitializationEvent event) { RoadsConfig config = new RoadsConfig(); RoadsConfig.loadConfig(event); If you wanna see it in action, go to my github. http://s13.postimg.org/z9mlly2av/siglogo.png[/img] My mods (Links coming soon) Cities | Roads | Remula | SilvaniaMod | MoreStats
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.