Jump to content

net.minecraftforge.common.util.Constants (.BlockFlags, .NBT, .WorldEvents) deprecation - where can I find documentation?


The_Fizz

Recommended Posts

I'm working on porting a version of my mod from 1.16.5 to 1.18.1. After refreshing the Gradle project (from the 1.16.5 forge dependency to the 1.18.1 forge dependency), my IDE was suddenly unable to resolve the Constants import.

I struggled to find any online documentation regarding this, and only after a lot of trial and error I noticed that using forge for 1.17.1 helped resolve the import, and marked it deprecated, with docstrings describing where to find the 1.18.1 equivalents.

 

If this sort of thing happens again, where in the documentation can I find deprecation lists and related information across versions? (so that I don't have to flicker between Gradle dependencies and reload the entire project - which seems a little unstable with my IDE, which is VSCode in case it matters).

Thank you in advance!

Link to comment
Share on other sites

  • 1 month later...

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.



×
×
  • Create New...

Important Information

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