Minecraft mod made with Forge
- Install Minecraft
- Install Minecraft Forge
- Install Java SE JDK
- Set JAVA_HOME environment variable to JRE installation folder e.g. C:\Program Files\Java\jre1.8.0_111
- Install Eclipse
$ cd C:\Minecraft\ForgeModding
$ git clone https://github.com/howprice/MinecraftMod
$ gradlew setupDecompWorkspace
$ gradlew eclipse
- Open Eclipse with workspace C:\Minecraft\ForgeModding\workspace
- Close the Welcome screen
- File->Import... Gradle->Gradle Project->Next-> Project root directory = C:\Minecraft\MinecraftMod Next->Next->Finish->Overwrite
- In Package Explorer, expand the MinecraftMod project, and right-click on JRE System Library -> Properties and set Execution Environment to match installed JDK version e.g. JavaSE-1.8 (jre1.8.0_111)
Run->Run Configurations... Java Application -> MinecraftMod_Client -> Run
Minecraft should start up.
Click on the Mods button and the "Example mod" should be there. Note: the version number will probably show as "$version", but will be fine when run in game.
Open command window:
$ cd C:\Minecraft\ForgeModding\MinecraftMod
$ gradlew build
- Copy C:\Minecraft\ForgeModding\MinecraftMod\build\libs\examplemod-0.1.jar into %appdata%.minecraft\mods\
- Start Minecraft -> Edit Profile
- Use version of Forge installed e.g. release 1.10.2-forge1.10.2-12.18.2.2114
- Launcher visibility: Keep the launcher open
- Save Profile
- Play
- Mod button * Example Mod should be there with correct version number as specified in C:\Minecraft\ForgeModding\MinecraftMod\build.gradle
TEXTCRAFT For making logos