Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 2.18 KB

README.md

File metadata and controls

38 lines (28 loc) · 2.18 KB

GregTech Addon Template

Template for GregTech Modern addons on 1.20.1

Original template by screret, updated by JuiceyBeans


How do I make an addon for GregTech Modern?

Well for one, you WILL need to know Java to make an addon. There's no getting around this. A good starting point would be MOOC or W3Schools

Unfortunately, there isn't any official documentation so far for making GregTech Modern addons. There are a couple of mods you can look at to reference though!

Repositories for other addons:

Additionally, you may be able to find help on the GregTech CEu Discord!


This template comes packaged with Spotless!

1. What is Spotless?

  • Spotless keeps your code neatly formatted. It's essentially a grammar check for your code!

2. Can I choose not to use Spotless?

  • Yes! Spotless is completely optional and will not affect your project by default

3. How do I run Spotless?

  • You can run Spotless anytime by:
    • Running the spotlessApply task from the Gradle tab in IntelliJ
    • Installing the Spotless Gradle plugin for IntelliJ
    • Typing in gradlew.bat :spotlessApply if you're on Windows
    • Typing in bash gradlew :spotlessApply if you're on Linux

4. So how do I check if Spotless has been applied to my code?

  • Running spotlessApply will format all files for you automatically! If you want GitHub to check each commit for if Spotless has been run, you can add this and this to your project