The (unofficial) Fabric home for infdev - if you want the newer versions see here.
- Edit build.gradle and mod.json to suit your needs.
- The "mixins" object can be removed from mod.json if you do not need to use mixins.
- Please remember to replace all occurrences of "modid" with your own mod ID.
- Run the following command:
./gradlew eclipse
NOTE: if you want sources (recommended), instead run
./gradlew rebuildLVT genSources eclipse
Once your mod is complete and ready for use it can be compiled and reobfuscated with:
./gradlew build
This template is available under the MIT license. Feel free to learn from it and incorporate it in your own projects.