GregTech6 / gregtech6

This is the Official Repository of the Mod GregTech 6 for Minecraft 1.7.10
https://gregtech.mechaenetia.com
Other
188 stars 53 forks source link

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:

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