HBM’s Nuclear Tech Mod uses a standard Minecraft Forge 1.7.10 Gradle build chain. Building from source lets you test the absolute latest changes before they appear in a numbered release, or iterate on your own modifications without waiting for a full release cycle. The process is straightforward on both Windows and Linux, though you must use JDK 8 — no other Java version is supported by ForgeGradle 1.x. This guide walks through every step from a fresh machine to a workingDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/hbmmods/hbm-s-nuclear-tech-git/llms.txt
Use this file to discover all available pages before exploring further.
.jar file, and also covers how to depend on a published NTM release from Maven when you are writing your own addon mod.
Prerequisites
Before you begin, make sure the following tools are available on your machine:| Tool | Minimum version | Download |
|---|---|---|
| JDK 8 (Temurin recommended) | 8u302+ | adoptium.net |
| Git | Any recent version | git-scm.com |
| Forge 1.7.10 src (for IDE setup only) | 10.13.4.1614 | files.minecraftforge.net |
Linux users: The steps below are written for Windows / Git Bash, but Linux equivalents are obvious — replace
gradlew.bat with ./gradlew and use your distribution’s package manager to install git and openjdk-8-jdk.Building the JAR (headless / CI)
Use this flow when you just want a compiled.jar — no IDE needed.
Install JDK 8 and Git
Download and install Temurin JDK 8 and Git. On Windows, open Git Bash for all subsequent commands.
Run the build
IDE Setup for Eclipse
Eclipse is the officially supported IDE for NTM development, as ForgeGradle 1.x ships aneclipse task that generates .classpath and .project files automatically.
Merge Forge src into the cloned directory
Download the Forge 1.7.10 source distribution from files.minecraftforge.net and extract it into a directory. Then copy/move all files from the cloned
Hbm-s-Nuclear-Tech-GIT folder into that Forge directory, overwriting any conflicts.Run setupDecompWorkspace
Open the workspace in Eclipse
In Eclipse, switch to the
eclipse/ subdirectory inside your project directory as the workspace root. Eclipse will pick up the generated .project automatically.Configure JDK 8 in Eclipse
- Windows
- Linux
- Search for Environment Variables → Edit the System Environment Variables.
- Under System Variables, click New.
- Set Variable Name to
JAVA_HOMEand Variable Value to the JDK 8 installation path (e.g.,C:\Program Files\Java\jdk1.8.0_102). - In Eclipse, go to Window → Preferences → Java → Installed JREs.
- Click Add Standard VM, navigate to the JDK 8 directory, and click Finish. Select it as the default.
IDE Setup for IntelliJ IDEA
IntelliJ does not receive a dedicated ForgeGradle 1.x task in NTM’sbuild.gradle, but the standard Forge 1.7.10 IntelliJ workflow works fine.
Import the Gradle project
Open IntelliJ and choose File → Open, then select the
build.gradle file in the repository root. IntelliJ will import the Gradle project and resolve all dependencies automatically.Set the Project SDK to JDK 8
Go to File → Project Structure → Project and set the SDK to your installed JDK 8 (version 1.8). Do the same under File → Project Structure → Modules if needed.
Using NTM as a Maven Dependency
NTM publishes pre-built JARs to its own Maven repository athttps://maven.ntmr.dev/releases. Each release is versioned as 1.0.27_X{buildNumber} — for example, 1.0.27_X5687. Three classifiers are published per build:
| Classifier | Use case |
|---|---|
| (none) | Re-obfuscated runtime JAR — install in mods/ |
:dev | Deobfuscated artifact for compile-time IDE resolution |
:src | Sources JAR for IDE source attachment |
build.gradle:
The
:dev artifact is a non-obfuscated JAR that lets ForgeGradle resolve NTM class names during compilation without re-obfuscation issues. The :src artifact is optional but highly recommended — it wires source code into your IDE so you can browse NTM internals directly.com.hbm and the artifact ID is HBM-NTM. Check the Modrinth releases page or GitHub Releases for the latest build number.
Platform Notes
- Windows
- Linux / macOS
- Use Git Bash (installed with Git for Windows) rather than
cmd.exeor PowerShell. Thegradlewwrapper is a shell script. - If Gradle cannot find
javac, set theJAVA_HOMEenvironment variable to your JDK 8 installation directory (e.g.,C:\Program Files\Java\jdk1.8.0_102) and restart Git Bash. - Avoid placing the repository in a path with spaces (e.g.,
C:\Users\My User\Downloads). Use a short, space-free path likeC:\Dev\ntm.
