Jump to content

errors when creating entity throwable


Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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/

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.