Quilt example mod, without the examples.
- JDK for Java 17 (Eclipse Temurin recommended)
- IntelliJ IDEA
- Minecraft Development plugin (Optional, but highly recommended)
- Download or clone this repository and put it somewhere.
git clone https://github.com/MartinSVK12/bta-example-mod.git
-
Import the project in IntelliJ IDEA, close it and open it again.
-
Add
-Dloader.development=trueand change-Dfabric.dli.main=toorg.quiltmc.loader.impl.launch.knot.KnotClientor=org.quiltmc.loader.impl.launch.knot.KnotServerin your run configurations. -
Create a new run configuration by going in
Run > Edit Configurations
Then click on the plus icon and select Gradle. In theTasks and Argumentsfield enterbuild
Running it will build your finished jar files and put them inbuild/libs/ -
Open
File > Settingsand head toBuild, Execution, Development > Build Tools > Gradle
ChangeBuild and run usingandRun tests usingtoIntelliJ IDEA -
Open
File > Project Structure, selectProjectand setCompiler outputto your project's path/out. -
Done! Now all that's left is to change every mention of
examplemodto your own mod id. Happy modding!