A Groovy Mod Development Kit for Forge 1.20.
This template includes the following features:
- MinecraftForge the popular compatibility layer for Minecraft mods
- Groovy the Groovy programming language
- GroovyModLoader for loading Groovy Forge mods
- mods.groovy for mod metadata
- CommonGroovyLibrary a Groovy library for MC mods that's commonly available across loaders
In order to use this mod as a template:
- Create a new repository from this template with
Use this template
- Clone the recently-created repo on your PC
- Make the necessary changes to make it yours:
- Update
build.gradle
in order to use your Maven group and mod ID- If you don't know which Maven group to use, and you are planning to host the mod's source code on GitHub, use
io.github.<Your_Username_Here>.<Mod_ID_Here>
- If you don't know which Maven group to use, and you are planning to host the mod's source code on GitHub, use
- Update the
mods.groovy
file with your mod's metadata, such as the mod name, description, authors, etc... - Update the
src\main\groovy
sub-directory structure so it reflects your Maven group - Change the entrypoint class name from
ExampleMod
to your mod ID
- Update
This template on the GroovyMC GitHub is licenced under the MIT licence.
Mods created with this template are not automatically licenced under MIT and are not required to give any kind of credit back to GroovyMC or the template authors.
By default, mods using this template are All Rights Reserved. You can change this by creating a LICENSE
file in the
repo's root directory and updating the mods.groovy
file to reflect the new licence.