This 'hack' allows the vanilla launcher to be modified by a single patch to the main class.
It is really an experiment to play about with reflection among others but I use this as my launcher to Minecraft.
-
Select Minecraft Forge builds direct in the launcher's profile selector
You can check the "Enable Forge Versions" checkbox to get a list.
It also provides a checkbox for standard vanilla releases to be toggled. -
Can download and play almost any forge version. Forge has changed a lot, especially in how it is installed. Depending on what version you select, ModLoader may be downloaded or various other install procedures take place.
-
See the mods you have in the mods folder. This is a very basic feature that may be improved.
- Eclipse
- Gradle
- You will need to decompile your Minecraft.jar that you launch the game with.
How you do this is up to you, I am unable to share the sources. - Apply the patch Bootstrap.java.patch (You may have to do this manually).
- Copy all files (i.e.
git clone
) to wherever the decompiled sources are. - Run
gradle eclipse
in that somewhere to setup the project. - Import the project in eclipse.
- Move files to where they should be for a gradle project and fix any errors the decompiler made.
- Setup a Run Configuration to run
net.minecraft.bootstrap.Bootstrap
Everything should work.
You can run gradle build
which will output:
build/libs/Minecraft.jar
- A rebuild launcher jar. DO NOT DISTRIBUTEbuild/patches/*
- Compiled classes that can be copied into a Minecraft.jar