Posted February 22, 201312 yr i am trying to make a config and i have the following line: @PreInit public void PreLoad(FMLPreInitializationEvent event){ Configuration config = new Configuration(event.getSuggestedConfigurationFile()); config.load(); String CustomRecord1Name = config.getOrCreateProperty("CustomRecord1Name", Configuration.CATEGORY_GENERAL, "nothing").value; config.save(); } and eclipse is telling me the method getOrCreateProperty is undefined for the type Configuration. Legend of Zelda Mod[updated September 20th to 3.1.1] Extra Achievements(Minecraft 1.8!)[updated April 3rd to 2.3.0] Fancy Cheeses[updated May 8th to 0.5.0]
February 22, 201312 yr Because that verbose method names were removed.. All the information you need is inthe config class. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
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.