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.
Gregorius Techneticies 2a17e3bdb2
Rotational Pump now does Running-Possible detection better
2 hours ago
.defaultconfigs/config should fix lack of fluid movement for compressed fluids 2 weeks ago
.github/workflows Maybe fix forum release posts on RELEASE 8 months ago
.meta Source File Formatter Stuff 6 months ago
.run Update to latest Java 1.8 for the .tool-versions definition 2 weeks ago
gradle/wrapper Update to gradle3 and need to fix unchecked warnings 3 years ago
src Rotational Pump now does Running-Possible detection better 2 hours ago
.gitattributes Add a default .gitattributes file 3 years ago
.gitignore Add a .tool-versions file that is ignored by everyone unless you have the standard tool sandboxes setup, which will now state what java version to use so it doesn't try to use java 14 when this is freshly cloned... >.> 9 months ago
.tool-versions Update to latest Java 1.8 for the .tool-versions definition 2 weeks ago
CHANGELOG.md Rotational Pump now does Running-Possible detection better 2 hours ago
COPYING Adding more License Textfiles 3 years ago
COPYING.LESSER Adding more License Textfiles 3 years ago
COPYING.assets Fixing up some Files and Assets 3 years ago
COPYING.logos Fixing up some Files and Assets 3 years ago
CREDITS-fml.txt gitignore file 3 3 years ago
LICENSE Fixed a Line in the License that was modified moreless by accident 3 years ago
LICENSE-fml.txt Remaining Project Files 3 years ago
LICENSE.assets Fixing up some Files and Assets 3 years ago
LICENSE.logos Fixing up some Files and Assets 3 years ago
MinecraftForge-Credits.txt Remaining Project Files 3 years ago
MinecraftForge-License.txt Remaining Project Files 3 years ago
README.md Replace the TODO on the README.md with basic building instructions 1 year ago
build.gradle Lets hope GitHub Actions can actually work with this 2 months ago
gradlew Update to gradle3 and need to fix unchecked warnings 3 years ago
gradlew.bat Update to gradle3 and need to fix unchecked warnings 3 years ago
old_todo_list.txt Another Year another License Header for said year for newly modified Files 11 months ago
settings.gradle Just testing my Script and Stuff 3 years ago

README.md

This is the Git Repository for GregTech-6

License

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.

Support

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