-
Notifications
You must be signed in to change notification settings - Fork 0
Home
DustinRepo edited this page May 15, 2022
·
5 revisions
To get started, we will need to download Jex and build it to get a development jar to ensure you are compatible with the latest version.
- Download Jex Client
git clone https://github.com/DustinRepo/JexClient.git
- Open the Jex Client folder and run
./gradlew build
- Find the file
build/libs/jex-plugin-dev.jar
in the JexClient folder and save it for later
- Download this project.
git clone https://github.com/DustinRepo/JexExamplePlugin.git
- Create a folder called
lib
in the project folder and put thejex-plugin-dev.jar
in there from earlier - Open
build.gradle
in Intellij as a gradle project and wait for it to set up -
File -> Close Project
if you do not have a run configuration, then re-open the project - Edit the JexPlugin.json to specify the plugin name, description, authors, main class, etc.
- Rename exampleplugin.mixins.json and edit it's reference in JexPlugin.json
- Edit the
gradle.properties
file to specify the same Minecraft version and Yarn Mappings as Jex which you can find here - To test, just run the "Minecraft Client" run configuration
- When ready to distribute, run
./gradlew build
and the output will be inbuild/libs/
You should now have a working Jex Plugin project