A fork of the Fabric Example Mod, redesigned to aid in Allium scripting.
For setup instructions please see the Allium documentation page that relates to the IDE that you are using.
After building a repository from this template, and cloning:
- Run the
gradle updateGlobalstask. This will fetch documentation for allium's global documentation, which are also used in the next step. - Run the
gradle genLuaSourcestask. This is for lua definitions of game sources for easy tab completion. - Set the script ID, version, and name in the
gradle.properties. - Navigate to the script's directory at
src/main/resources/scripts - Rename the
script_iddirectory to the ID that was set ingradle.propertiesin step 2
To test, launch the Minecraft Client IDEA task (or representative task in your respective IDE).
To build, run the gradle build task. A distributable zip archive is created in the build/script directory.
This template is available under the CC0 license. Feel free to learn from it and incorporate it in your own projects.