Jump to content

Recommended Posts

Posted

Hello guys,

I'm making a custom installer for one of my mods and I need to detect if the right Forge version has already been installed correctly into Minecraft.

 

How could I do that? I already have the correct path to the MC directory, I just have to detect if Forge is there, but what should I check exactly?

 

Thanks guys as always,

Axel

Posted

This is done automatically by forge. If the correct version isn't installed, then it will not have the methods it needs and as such, it will tell the user that they need to use Forge version x.

Posted

Wow, this time both your answers are very useless.

 

1. Nobody said that my mod only uses the zip file.

2. I need to check it BEFORE the player starts the game, so I need to know a unique way for detecting Forge's version or at least if Forge is installed.

 

Any idea? Thank you

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.