That was my general thinking but I couldn't for the life of me figure out what to do, and google wasn't much help either
**EDIT**
I FIXED IT!!!! it was such a dumb mistake in my reference file i had
CONFIG_GUI_CLASS = "com.syntaxjedi.betterRPG.client.gui.BetterRPGguiConfig";
instead of
CONFIG_GUI_CLASS = "com.syntaxjedi.betterRPG.client.gui.GuiFactory";
class list
gui factory
gui config
config handler
main mod class
also i get this message in the system output pane when i run the game and i don't know what exactly it's complaining about
[16:06:55] [Client thread/ERROR] [FML]: A critical error occurred instantiating the gui factory for mod betterRPG
java.lang.ClassCastException: class com.syntaxjedi.betterRPG.client.gui.BetterRPGguiConfig
at java.lang.Class.asSubclass(Unknown Source) ~[?:1.8.0_05]
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:316) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.startGame(Minecraft.java:596) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:941) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_05]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_05]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_05]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_05]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
I tried loading the configuration in loadConfiguration(), which I'm sad I didn't do in the first place, but still nothing. I'm about ready to say it's just not gonna work and give up
I'm sort of following along with a tutorial and all my code matches that in the videos, the only difference is that in the videos the config button actually works. I don't know which config class has the error, since I have two, so I'll post them both
First post so excuse me if i don't include everything needed, but I find myself having a lot of trouble loading my config file into minecraft. For some reason the config file is generated every time I delete it but when I go to my mod in minecraft the config button is greyed out. I'm working with 1.7.10, the error log says it can't initialize gui factory
I've included a picture in case I'm not making myself clear enough.