Posted May 7, 201411 yr I am getting these errors and I don't know how to resolve them. I am using 9.11.1.964. https://github.com/chasingfirehpps/Future-weapons-mod/tree/master I have errors in the FutureWeaponsMain class and the RenderPlasmaBolt class tell me if you need more. thanks!
May 7, 201411 yr I am getting these errors and I don't know how to resolve them. I am using 9.11.1.964. https://github.com/chasingfirehpps/Future-weapons-mod/tree/master I have errors in the FutureWeaponsMain class and the RenderPlasmaBolt class tell me if you need more. thanks! We can't tell you what's wrong with your code if you don't tell us what error you're having. Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! | mah twitter This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.
May 7, 201411 yr Author Sorry github didn't work the way I thought it was going to. errors under RenderPlasmaBolt loadTexture in this.loadTexture("/gui/items.png"); The method loadTexture(String) is undefined for the type RenderPlasmaBolt FutureWeaponsMain Errors under proxy in proxy.registerRenderers(); proxy cannot be resolved public void registerRenderers() { syntax error on token "void", @ expected public void registerRenderers() { Syntax error, insert "EnumBody" to complete BlockStatement
May 7, 201411 yr So you mean you have errors in Eclipse. I thought you meant you had crashes when running the program. Okay, when programming the IDE (Integrated Development Environment) helps you by proof-reading your code for obvious mistakes that will affect compilation. So it is very normal to have lots of these errors appear while you're coding. The easiest thing is to often see if Eclipse will suggest a fix that looks correct. I think you can just hover over the part of the code that has a red underline and some suggested fixes will pop up. For example, for the "The method loadTexture(String) is undefined for the type RenderPlasmaBolt" it should offer to create the method for you. Note however that it will create the structure for the method but it won't know what to put in the method. So if you're copying a tutorial you'll have to see what should be in that method. However, I expect you don't know a lot about Java programming so it can be tricky to figure out the proper fix. For example, the "proxy cannot be resolved" means that you didn't define it (at least it is not defined in the scope of where you're referencing it). You should read up on how Java classes and methods work. Check out my tutorials here: http://jabelarminecraft.blogspot.com/
May 7, 201411 yr Author I am using this tutorial http://www.minecraftforge.net/wiki/Tutorials/Block_Manipulation_-_Plasma_gun I copied and edited all of what he had. I have tried a few things but I can't figure it out.
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.