-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Druidcraft using poor Forge versioning syntax #119
Comments
That's interesting. I think this might be a build-script error, as the version variable in the gradle properties shouldn't also be specifying the Minecraft version for ease of use -- it should be glued together at some point in the future. Case in point, my noobutil library results in artifacts which I'm pretty sure properly glue in the Minecraft version. It may be a matter of comparing the |
I'd also like to note that this "valid Forge syntax" you speak of is a guideline at best and is by no means enforced. It's really on the author of the mod in question to ensure that they're using the correct versioning of the mod they wish to be compatible with in their I note this "crash" also occurs with The Undergarden, indicating that the versioning system you speak of isn't as widely spread as you might think. |
I believe it is an issue with the As for your issue with "valid Forge syntax," you are completely correct. I can definitely see how what I said indicates that it is enforced. That was not my intention, and Forge does merely encouraged the use of I do wish that Forge would add some form of versioning enforcement, as I have seen many mods cause crashes due to this issue. From what I have seen most have begun settling on the I would like to point out; however, that due to Druidcraft's major version being less than Minecraft's (0.4.52<1.16.5), if Druidcraft were to use the Nevertheless, switching to |
Oh, thank you for reminding me to check this. And while I obviously agree that it's a better versioning system, I just wanted to point out that the authors of mods really ought to check that their dependencies function properly instead of making assumptions about it, as it otherwise leads to situations like this. EDIT: Yep, it's definitely an issue with This means the |
I think this is resolved but I'll wait on Vulpie's next release to see. |
Thanks a bunch! I'm familiar enough with Gradle to tell that I definitely agree that mod creators need to be careful to make sure their dependencies actually work with the mod in question. In fact, I've got another issue thread under Scythd. I'd previously closed it since I thought the crashing was more of an issue with Druidcraft, but my mind's been changed, plus they're now having the same issue with the mod, Undergarden. So, I'll be reopening that thread. Hopefully, doing so will result in fewer of these crashes going forward. Thanks again for helping out! |
Not super important, but I just noticed that Druidcraft has a mismatch between its published jar's Although Forge actually checks the mods.toml file, since so many mod creators refer to the MANIFEST.MF file anyways AND the As long as your fix works properly, though, this too should no longer be an issue! |
I'll triple-check to make sure the manifest is being setup properly. |
General Information
Describe the bug:
In its
mods.toml
file, Druidcraft is not using valid Forge versioning syntax as specified here. Consequently, a crash will and does occur whenever a mod lists Druidcraft as an optional dependency while using proper versioning syntax on Forge v36.1.10+. Please see "Additional context." Additionally,mcversion
inmods.toml
is out of date and says "[1.16.3,]" rather than "[1.16.5]."To Reproduce:
Expected behavior: Not crash lol.
Environment Versions
Mystic Mods Versions: None
Other Versions:
Logging Information
Crash Report (if available):
crash.txt via Gist
Latest Log (if necessary):
log.txt via Gist (not really necessary, but 🤷♂️)
Additional Information
Screenshots (if available): None
Additional context (optional):
One very real example of this bug (and the way I stumbled across it) is the mod: Scythd. Scythd lists Druidcraft as an optional dependency with
versionRange="[1.16.5-0.4.52,)"
. The Forge version interpreter identifies Druidcraft's version as being lower due to its mods.toml file statingversion="0.4.52"
when it should stateversion="1.16.5-0.4.52"
. This results in Forge throwing an error and a crash occurring.The text was updated successfully, but these errors were encountered: