Template repo for creating a mod based on Catalyx.
This template uses:
This template is loosely based on:
- CleanroomMC - ForgeDevEnv
- CleanroomMC - TemplateDevEnvKt
- GregTechCEu - Buildscripts
- GTNewHorizons - ExampleMod1.7.10
- default maven repositories
- default mods for assisting with development
- everything written in Kotlin
- easy to configure / update
- gradle options for version management, GroovyScript options, creating a Reference/Tags class (with stuff like MOD_ID/similar)
- built-in mixin, coremod and access transformer support
- credentials are managed locally instead of using environment variables
- comes with a few handy set-up scripts
This template uses Spotless to format code.
To auto-format code, run the Apply Spotless gradle task or execute the spotlessInstallGitPrePushHook task to install a git pre-push hook that will format code before each push.
The formatting rules aren't finalized yet as I still need to talk to roz on what the best rules are for our projects. We also recommend using IntelliJ IDEA as IDE as it has the best Kotlin support,
along with the Ktlint plugin to highlight formatting issues in the IDE.
To get started with this template, follow these steps:
- Click on the "Use this template" button above to create a new repository based on this template.
- Clone the newly created repository to your local machine, either by using the command line or the integrated Git support in IntelliJ IDEA.
- Open the project in IntelliJ IDEA.
- Run the
setupDevEnvironmentgradle task to set up the development environment.- Note: You might need to refresh the gradle project in IntelliJ IDEA if the initial task fails for whatever reason.
- Optional: Run the
spotlessApplyGitPrePushHookgradle task to install a git pre-push hook that will format code before each push.
- Tweak the
gradle.propertiesfile to your liking (e.g., set the mod name, mod id, version, etc.).- Note: Don't forget to update the gradle project after changing the
gradle.propertiesfile.
- Note: Don't forget to update the gradle project after changing the
- Start coding your mod!
- Note: If you want to take full advantage of Catalyx, make sure to implement the
ICatalyxModinterface in your main mod class.
- Note: If you want to take full advantage of Catalyx, make sure to implement the
Please make sure to read our contributing guidelines first. Furthermore, you have to agree to our code of conduct if you want to contribute.
It's a pleasure to be partnered with Akliz. Besides being a fantastic server provider, which makes it incredibly easy to set up a server of your choice, they help me to push myself and the quality of my projects to the next level. Furthermore, you can click on the banner below to get a discount. :')
If you aren't located in the US, Akliz now offers servers in:

