Jump to content

Contributing to Forge - How to create a test Forge jar / installer?


StellaArtois

Recommended Posts

Hi Guys,

 

I'm looking to contribute to Forge, and I've followed the readme to get a development environment setup. This is all fine and up and running - and was very easy. Great work!  :)

 

However, I'm now looking to build and test my changes. I can run up the changes in the development environment again without issue. However I do not know where to start as to how to generate a built jar and test installer, so I can install and test my modified Forge in anger on a clean Minecraft install.

 

I'm assuming I can use the Forge Installer for this here, however there is no readme file for this. Are there any obvious instructions I'm missing for this? How can I build and test my modified Forge via installer?

Link to comment
Share on other sites

I'd say build a local Forge version, eventually remove the part for maven deploy from your "build.gradle" file.

Then install your Forge version manually, by placing into .minecraft/libraries/net/minecraftforge/...

If you edited the version number, you'll have to edit or create a profile into the .minecraft/versions/ folder.

 

If you really want to make an installer too, then you'd need a remote repository for your build.

Link to comment
Share on other sites

I'd say build a local Forge version, eventually remove the part for maven deploy from your "build.gradle" file.

Then install your Forge version manually, by placing into .minecraft/libraries/net/minecraftforge/...

If you edited the version number, you'll have to edit or create a profile into the .minecraft/versions/ folder.

 

If you really want to make an installer too, then you'd need a remote repository for your build.

 

Ok, makes sense, thank-you. Are there any particular build.gradle commands I need to be aware of for the Installer project?

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.