Jump to content

This error is coming when i write my code... please explain as i'm new to forge modding


Recommended Posts

Posted

This error was coming whenever i write my minecraft code... I just watched Mr. Pineapple's Modding tutorial for minecraft 1.15 and i followed as he told. Is it because of that i'm coding for 1.16 and the tutorial is for 1.15? or just something else? Here's the screen shot:

error.thumb.png.0a37f0d29755d6624f96791efa7f5688.png

The errors are highlighted in yellow... if anything is wrong tell resp asap

Thanks in advance! 

Posted

Simple answer: yes, things changed from 1.15 -> 1.16, that method probably has a different name now (don't know what it is because I do not have a workspace setup currently). If you poke around in the Item class, you can probably find what it was changed to by looking at the type of the method parameters.

If you are not decently familiar with Java, I would suggest learning more basic Java before trying to write a mod, you will be running into problems like this a lot if you do not.

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.