Posted October 27, 201312 yr Heya friends! So I will be honest, I am pretty new at modding. I have been following vswe's modding tutorials and loving it so far. But I have seemed to be caught up on something. I am trying to create a Gui handler for a block I am trying to create but at this line public GuiHandler() { NetworkRegistry.instance().registerGuiHandler(Spartsextras.instance, this);} The "Spartsextras.instance" isn't registering as the instance. it does in the blocks main file though so it does work..... any and all help would be much appreciated! I will leave pastebins of my main mod file and the GuiHandler File. let me know if you need anything else! Main mod file http://pastebin.com/T7JZjLRs GuiHandler File http://pastebin.com/91jWMCgp
March 24, 201411 yr Yea i have this problem too with 1.7 can some buddy please help? BioWarfare Mod: http://goo.gl/BYWQty
March 24, 201411 yr Have you tried creating a SpartsextrasGuiHandler class NetworkRegistry.instance().registerGuiHandler(this, new SpartsextrasGuiHandler()); Also where is your "ModInformation.ID" defined?
March 24, 201411 yr @diesieben07 what do you mean by "the problem is that you never create your GUI handler anywhere." BioWarfare Mod: http://goo.gl/BYWQty
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.