An enchantment mod
- Run in a terminal from the same directory as the project directory
./gradlew build
on GNU/Linux and Mac, orgradlew build
on Windows. - Alternatively, in IntelliJ IDEA, open the Gradle tab on the right and execute
build
underTasks
→build
. After this is done once, thebuild
task should appear in the run configurations. - The JAR should appear in
${projectDir}/forge/build/libs
for Forge, and${projectDir}/fabric/build/libs
for Fabric. Use the JAR with the longest filename.
- Install the Forge or Fabric mod-loader.
- Place the JAR file in the mods folder along with its dependencies.