somewhat incomplete tutorial at Minecraftforge."> somewhat incomplete tutorial at Minecraftforge. "> somewhat incomplete tutorial at Minecraftforge. " />
26 February 2014
Most of this is taken from a somewhat incomplete tutorial at Minecraftforge.
First things first:
gradle clean build)
After all of this, browse to directory build/libs in INSERT_DIRECTORY_YOU_UNZIPPED_FORGE_INTO_HERE. You should find a JAR file including your mod there. :unamused:
If you want to run your mod, you can use the following gradle tasks:
gradle runClient- will start minecraft with your mod
gradle runServer- will start a minecraft server with your mod
If you run both tasks, you can connect with your modded client to your modded server and check if everything works as expected.
I’ve heard that if you put your eclipse workspace into the eclipse subfolder in your INSERT_DIRECTORY_YOU_UNZIPPED_FORGE_INTO_HERE you get a launch configuration for those tasks for free. I didn’t try that, and created the launch configurations myself:
--version 1.6 --tweakClass cpw.mods.fml.common.launcher.FMLTweaker --accessToken FML