Jump to content

Finding mod versions


Amerigo

Recommended Posts

I'm trying to programmatically sort mods by version into separate folders. The problem I'm having is finding something within a given mod that shows what version of minecraft the mod was made for. The only document that I can find that does (META-INF\MANIFEST.MF) is very inconsistent in format.

For example:

Quote

Manifest-Version: 1.0
Specification-Title: examplemod
Specification-Vendor: examplemodsareus
Specification-Version: 1
Implementation-Title: forge-1.18.1
Implementation-Version: 1.0
Implementation-Vendor: examplemodsareus
Implementation-Timestamp: 2021-12-11T21:47:32+0100
MixinConfigs: serilumforgemod.mixins.json

Quote

Manifest-Version: 1.0
Specification-Title: fallingtree
Specification-Vendor: RakSrinaNa
Specification-Version: 3.2.1
Implementation-Title: FallingTree
Implementation-Version: 3.2.1
Implementation-Vendor: RakSrinaNa
Implementation-Timestamp: 2022-02-07T18:06:58+0000

The second example shows the mod version, but not what version of minecraft it's built for. Is there a better way to do this? How does Minecraft know when a mod wasn't made for the game version it's running?

If it helps, I am programming in vb.net.

Link to comment
Share on other sites

META-INF/mods.toml

https://forge.gemwire.uk/wiki/Mods.toml

But even then there is no guarantee the mod author specified a minecraft version dependency.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

Those versions numbers are for the world save format.

I think the information you want is available on the downloads page? https://files.minecraftforge.net/net/minecraftforge/forge/

  • Thanks 1

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

I was referring to the link that was posted. https://minecraft.fandom.com/wiki/Data_version

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

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.