This is an example project to demonstrate adding modules to OdinFabric using an external JAR.
To set up the project, follow the Fabric documentation for configuring your development environment:
https://docs.fabricmc.net/develop/getting-started/setting-up
- IntelliJ IDEA is heavily recommended.
- When selecting a project, clone this repository from GitHub.
- It should automatically add the VM arguments required for hotswapping classes and mixins.
If not, add them manually as described in the wiki page.
(You must use the JetBrains Runtime mentioned in the wiki for this to work.)
- In
gradle.properties, setodin-versionto the version you want to build upon.
(Both version numbers and commit hashes are supported.) - Under
src/main/java, amixinsdirectory exists — this is where all your mixins should go. - Under
src/main/kotlinis your main source directory, where you can add:- Modules
- Other code