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.propertiesand change all the necessary properties - Rename the main package to be the same as
mod_base_packagein the properties file, e.g.com.example.examplemod
- Delete
build.gradle - Rename
mixinbuild.gradletobuild.gradle - Rename
examplemod.mixins.jsonto start with your mod id - Add mixins under the
mixinpackage inside your main package, e.g.com.example.examplemod.mixin
- Delete
mixinbuild.gradle - Delete
src/main/resources/examplemod.mixins.json - Remove
mixin_versionfromgradle.properties
Finally, import into your IDE of choice.