Skip to content

AndyOctopus/1.8.9ForgeTemplateFixedVersion

Repository files navigation

1.8.9ForgeTemplateFixedVersion

A fixed and ready to use template for minecraft forge modding on 1.8.9 with shadow plugin integrated including two useful artifacts. Tested flawlessly on IntelliJ IDEA Ultimate 2025.1.3

       java   8
     gradle   4.5
     shadow   2.0.4
  minecraft   1.8.9
forgegradle   2.1-SNAPSHOT

Setup

  1. Clone this repository.
  2. Import build.gradle as a project.
  3. Let it configure.
  4. Run setupDecompWorkspace in Gradle: Tasks > forgegradle > setupDecompWorkspace
  5. Reload gradle project.

Check out #build, #run and #artifacts for more information.

Build

Note: If the build ever finishes with an error looking like duplicate entry, then run clean in Gradle: Tasks > build > clean

 Run build in Gradle: Tasks > build > build

Output .jar will be located in build/libs/

Run

 Run genIntellijRuns in Gradle: Tasks > forgegradle > genIntellijRuns

This will create the run configurations.
Note: you will need to change the classpath module to .main

You should add CopyResources from #artifacts as a Task before launch and drag it in front of build.

Artifacts

Note: If the artifacts are not detected on setup, you might need to restart your IntelliJ.

 I have included two useful artifacts that I always use when developing mods:

  • CopyMod copies the mod from your #build folder into your %appdata%/.minecraft/mods
  • CopyResources copies the resources folder to your build/classes/main so they are accessible in the development environment

Note: This is a edited version of Dxxxxy's 1.8.9 Forge Template. I upgraded gradle to 4.5 and let it support newer version of IDEA.

About

A fixed 1.8.9 Forge Mod version

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages