Posted January 2, 20223 yr 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!
February 4, 20223 yr Er... where are the 1.18.1 Constants? Edit: Never mind. For those also searching, they're final static constants in the Block class. https://nekoyue.github.io/ForgeJavaDocs-NG/javadoc/1.17.1/net/minecraftforge/common/util/Constants.BlockFlags.html Edited February 4, 20223 yr by Will Bradley
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.