A simple template based off of the MDK that I use to create new projects quicker by extracting all mod-related info to gradle.properties
.
This does not do the work for you. It only makes the initial Gradle setup easier and less tedious.
- Open up
gradle.properties
and change all the necessary properties - Rename the main package to be the same as
mod_base_package
in the properties file, e.g.me.sizableshrimp.examplemod
- Delete
build.gradle
- Rename
mixinbuild.gradle
tobuild.gradle
- Rename
examplemod.mixins.json
to start with your mod id - Add mixins under the
mixin
package inside your main package, e.g.me.sizableshrimp.examplemod.mixin
- Delete
mixinbuild.gradle
- Delete
src/main/resources/examplemod.mixins.json
- Remove
mixin_version
fromgradle.properties
Finally, import into your IDE of choice.