Jump to content

Update Minecraft Version in Eclipse?


DragonFerocity

Recommended Posts

Hello,

 

I'm recently getting back to updating my mod (from 1.12.2), but I'm running into an issue. 

I went through the Getting Started section on the MCForge Docs page (https://mcforge.readthedocs.io/en/1.15.x/gettingstarted/#from-zero-to-modding), running the "gradlew genEclipseRuns". 

(When I run "gradlew build" obviously there are a bunch of errors that I need to fix)

 

My issue is that in Eclipse, when I run my mod, it is still using Minecraft 1.12.2 so it doesn't encounter any errors. How can I make my Eclipse Project use Minecraft 1.16.2 and actually give me the errors that "gradlew build" does?

 

(One of the errors is: 

src\main\java\com\DragonFerocity\expanded\blocks\ModBlock.java:8: error: cannot find symbol
import net.minecraft.block.material.MapColor;

But if I look at the "ModBlock.java" file in Eclipse and go to the definition of "MapColor", MapColor exists when obviously it's been changed)

 

Thanks,

 

EDIT: I think I have fixed it, not entirely sure how, but I double checked that everything in my build.gradle was correct and made a few adjustments.

Edited by DragonFerocity
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.