Repository for GregTech 6
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long. 2.1KB

This is the Git Repository for GregTech-6


This Mod is licensed under the GNU Lesser General Public License. All assets, unless otherwise stated, are dedicated to the public domain according to the CC0 1.0 Universal Public Domain Dedication. Any assets containing the GregTech logo or any derivative of it are licensed under the Creative Commons Attribution-NonCommercial 4.0 International Public License.


You can use the Issue Tracker, or you can just use the Forums. Both ways will notify Greg at the very same time.

Dev Environment Setup

Once you have this project cloned then forge needs to be set up. There are 2 options:

  • If you want to just compile GT6 as quick as possible, then start by running ./gradlew setupCIWorkspace. This tasks just builds enough of Minecraft and Forge to be able to build Forge Mods, but not to do any development.
  • If you want to compile GT6 and want the full decompiled and deobfuscated source code in the development environment and want to be able to run MC from within the development environment then run ./gradlew setupDevWorkspace setupDecompWorkspace.

Once you have set up your environment then you can run the assemble task to build GT6 like: ./gradlew assemble

If you want to run the client then you can run the runClient task: ./gradlew runClient

Ditto with runServer for a server run.

To edit the code in an IDE just open the gradle project in IntelliJ or other decent IDE. Use the assemble gradle task to build or runClient or runServer tasks to be able to actively debug the running the game.

On the commandline you can combine classes altogether, for example, to just build GT6 you can do this after a fresh clone:

./gradlew setupCIWorkspace assemble

And the file will be in build/libs as usual.

Can fully get a full dev environment, build, and run the client all at once from a fresh clone with:

./gradlew setupDevWorkspace setupDecompWorkspace assemble runClient