Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

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


Recommended Posts

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! 

Link to post
Share on other sites

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.

Link to post
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.

Guest
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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.