Skip to content

DustinRepo/JexExamplePlugin

Repository files navigation

Jex Example Plugin

This is an example Plugin for the utility client Jex

Before getting started

Before getting started, it is recommended to install the Minecraft Development plugin in Intellij as this will be a lot of help with Mixins

For explanations on parts of the client like adding commands or features, you can check the wiki

For a more advanced example, check out the Jex Crash Plugin

How to get started

Getting Jex

  1. First, download this project, using the green button above either download as zip or copy the link and use git clone https...
  2. Now do the same with JexClient
  3. Open terminal in the JexClient folder and type ./gradlew build
  4. Take the jar named jex-plugin-dev.jar in build/libs/ and put it in the lib folder in JexPlugin
  5. Optionally You can also use the -sources-dev.jar file as sources too

Creating a plugin

  1. Open build.gradle in Intellij as a gradle project and wait for it to set up
  2. File -> Close Project if you do not have a run configuration, then re-open the project
  3. Replace all references of ExamplePlugin with your plugin name in files like JexPlugin.json, gradle.properties, exampleplugin.mixins.json
  4. Edit the gradle.properties file to specify the same Minecraft version and Yarn Mappings as Jex which you can find here
  5. To test, just run the "Minecraft Client" run configuration
  6. When ready to distribute, run ./gradlew build and the output will be in build/libs/

About

An example plugin for the Utility Client Jex

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages