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 383cc72a8c
More PFAA Compat for when CustomOreGen is not installed
3 hours ago
.defaultconfigs/config Arsenic related Stuff and PFAA 9 hours ago
.github/workflows Change post to forum to happen only on tagged releases 2 weeks ago
.meta First Release of 2021! And its only a Bugfix XD 2 weeks ago
gradle/wrapper Update to gradle3 and need to fix unchecked warnings 2 years ago
src More PFAA Compat for when CustomOreGen is not installed 3 hours ago
.gitattributes Add a default .gitattributes file 2 years ago
.gitignore First test of github actions CI 1 month ago
CHANGELOG.md More PFAA Compat for when CustomOreGen is not installed 3 hours ago
COPYING Adding more License Textfiles 2 years ago
COPYING.LESSER Adding more License Textfiles 2 years ago
COPYING.assets Fixing up some Files and Assets 2 years ago
COPYING.logos Fixing up some Files and Assets 2 years ago
CREDITS-fml.txt gitignore file 3 2 years ago
LICENSE Fixed a Line in the License that was modified moreless by accident 2 years ago
LICENSE-fml.txt Remaining Project Files 2 years ago
LICENSE.assets Fixing up some Files and Assets 2 years ago
LICENSE.logos Fixing up some Files and Assets 2 years ago
MinecraftForge-Credits.txt Remaining Project Files 2 years ago
MinecraftForge-License.txt Remaining Project Files 2 years ago
README.md Replace the TODO on the README.md with basic building instructions 6 months ago
build.gradle Add a test task to see if an upload is doable 1 month ago
gradlew Update to gradle3 and need to fix unchecked warnings 2 years ago
gradlew.bat Update to gradle3 and need to fix unchecked warnings 2 years ago
old_todo_list.txt Another Year another License Header for said year for newly modified Files 2 weeks ago
settings.gradle Just testing my Script and Stuff 2 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