Spartanboy56 Posted February 6, 2014 Share Posted February 6, 2014 Hello friends, So I have been following a few very good tutorials because I am very new to modding. everything has been going very good up until now. I am trying to get a GUI up on my block but I can't get the instance to work. it won't register in my block class. In my main class it seems to set up fine but when I try and use it in another class it doesn't go through. I have tried several different ways like changing around the Mod Id's and everything. I know the instance is suppose to be set to the main class and I'm pretty sure I have everything right. I just can't get it to work. any and all help is much appreciated! Main class file: http://pastebin.com/YhppRnaR Constructor: http://pastebin.com/JVwqfzAK Quote Link to comment Share on other sites More sharing options...
Alexiy Posted February 6, 2014 Share Posted February 6, 2014 Will using player.openGui instead of FMLNetworkHandler.openGui change anything? Quote Link to comment Share on other sites More sharing options...
Spartanboy56 Posted February 6, 2014 Author Share Posted February 6, 2014 I tried it and still nothing =/ Quote Link to comment Share on other sites More sharing options...
Spartanboy56 Posted February 6, 2014 Author Share Posted February 6, 2014 it says "spartsnicknacks.instance cannot be resolved to a type" Quote Link to comment Share on other sites More sharing options...
Spartanboy56 Posted February 6, 2014 Author Share Posted February 6, 2014 I actually have tried to import my main class. even typing it in myself than letting eclipse doing it and it doesn't get recognized. I actually have been told I need to import it several times but it just won't take the main class. Quote Link to comment Share on other sites More sharing options...
Spartanboy56 Posted February 6, 2014 Author Share Posted February 6, 2014 yea..... I figured that much =/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.