Skip to content

Warfactory-Official/Hbm-s-Nuclear-Tech-CE

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3,481 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

HBM's Nuclear Tech Mod Community Edition
CF Modrinth Discord

A definitive port of HBM's Nuclear Tech Mod from 1.7.10 to 1.12.2, the most completed one among others. Came from necessity as other developers have failed to update and maintain other forks.

Important

FOLLOW THE ISSUE TEMPLATE WHILE REPORTING ISSUES
Due to the amount of issues we get daily, we enforce strict issue report guidelines stated in the templates.
Failure to follow the templates will result in closing and locking of the issue without a warning. Rule does not apply retroactively. Please respect our time and make sure issue reports are of quality.

Note

If you have Universal Tweaks installed, set B:"Disable Fancy Missing Model" to false to fix model rotation
This can be found at config/Universal Tweaks - Tweaks.cfg


NTM:CE FAQ


Is it survival ready?

Yes!

Is the mod compatible with NTM: Extended edition addons?

No. It will crash.

Shaders?

Should be compatible with most shaders; If you find any visual artifacts, please report them to us.

How different is it from Extended edition?

Extended worlds are fully incompatible!
We have rewritten ~75% of the entire mod, porting every single feature we can. The amount of changes is difficult to track at this point. I invite you to check our GitHub issues, as we use them to track missing/added content.


Development Guide


For development Java 25 is used!

We have JvmDowngrader to target Java 8 bytecode seamlessly while still using modern syntax and apis.

General quickstart

  1. Clone this repository.
  2. Prepare JDK 25
  3. Run task setupDecompWorkspace (this will setup workspace, including MC sources deobfuscation)
  4. Ensure everything is OK. Run task runClient (should open minecraft client with mod loaded)
  • Always use gradlew (Linux/MACOS) or gradlew.bat (Win) and not gradle for tasks. So each dev will have consistent environment.

Development quirks for Apple M-chip machines.

Since there are no natives for ARM arch, therefore you will have to use x86_64 JDK (the easiest way to get the right one is IntelliJ SDK manager)

You can use one of the following methods:

  • GRADLE_OPTS env variable export GRADLE_OPTS="-Dorg.gradle.java.home=/path/to/your/desired/jdk"
  • additional property in gradle.properties (~/.gradle or pwd) org.gradle.java.home=/path/to/your/desired/jdk
  • direct usage with -D param in terminal ./gradlew -Dorg.gradle.java.home=/path/to/your/desired/jdk wantedTask

Troubleshooting:

  1. If you see that even when using x86_64 JDK in logs gradle treats you as ARM machine. Do following:
    1. Clear workspace git fetch; git clean -fdx; git reset --hard HEAD (IMPORTANT: will sync local to git, and remove all progress)
    2. Clear gradle cache rm -rf ~/.gradle (IMPORTANT: will erase WHOLE gradle cache)
    3. Clear downloaded JVMs rm -rf /path/to/used/jvm (path to used jvm can be found in /run/logs/latest.log like this Java is OpenJDK 64-Bit Server VM, version 1.8.0_442, running on Mac OS X:x86_64:15.3.2, installed at /this/is/the/path)
    4. Repeat quickstart.

Maven

Our server is extremely unreliable and slow, curse maven is recommended for releases.

Snapshots

These represent the latest commit for a given version.

repositories {
    maven {
        name "Warfactory Snapshots"
        url "https://repo.warfactory.co/snapshots"
    }
}
dependencies {
    // Java 8, unobfuscated
    implementation "com.hbm:ntm-ce:2.4.0.0-SNAPSHOT:dev"
    // Java 25, unobfuscated
    implementation "com.hbm:ntm-ce-java25:2.4.0.0-SNAPSHOT:dev"
    // Java 8, obfuscated
    implementation "com.hbm:ntm-ce:2.4.0.0-SNAPSHOT"
    // Java 25, obfuscated
    implementation "com.hbm:ntm-ce-java25:2.4.0.0-SNAPSHOT"
}

Releases

These correspond to a CurseForge / Modrinth release.

repositories {
    maven {
        name "Warfactory Releases"
        url "https://repo.warfactory.co/releases"
    }
}
dependencies {
    // Java 8, unobfuscated
    implementation "com.hbm:ntm-ce:2.4.0.0:dev"
    // Java 25, unobfuscated
    implementation "com.hbm:ntm-ce-java25:2.4.0.0:dev"
    // Java 8, obfuscated
    implementation "com.hbm:ntm-ce:2.4.0.0"
    // Java 25, obfuscated
    implementation "com.hbm:ntm-ce-java25:2.4.0.0"
}

Normally you should use unobfuscated jars for development.
If you are on Cleanroom and is using JDK 25 then both Java 8 and Java 25 variants are fine; otherwise the Java 8 ones are recommended.

Licensing

Licensed under the GNU GPLv3 / LGPLv3 — see LICENSE and LICENSE.LESSER.
Exception: the processor/ directory is All Rights Reserved and not covered by the GPL/LGPL. See processor/LICENSE and NOTICE.

About

The most up-to-date port of NTM to 1.12.2

Resources

License

GPL-3.0, LGPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
LGPL-3.0
LICENSE.LESSER

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Java 99.7%
  • Other 0.3%