Building and Contributing
Read Support for help.
When making a pull request or issue, please follow the Code of Conduct.
Pull requests are accepted to all non-archived repositories on https://github.com/kami-blue/. Please name your branches and fill in the template (you’ll see it when you make a pull request) to make reviewing easier.
Currently only JDK 8 is supported. You can download it for free here.
All following steps will require
bash on Linux / OSX, and Git Bash for Windows users.
You will have to install Git Bash on Windows, and Git on Linux / OSX first, refer to Google or Stackoverflow if you’re unsure how.
Once you have that setup, run the following:
git clone https://github.com/kami-blue/client kamiblue cd kamiblue ./scripts/setupWorkspace.sh
You will want to replace
https://github.com/kami-blue/client with the URL of your own fork, which you can make by clicking here.
After setting up a workspace, you can run the
gradle build task from within Intellij IDEA, or you can run
./gradlew build inside the KAMI Blue folder.
Only Intellij IDEA is supported, due to lack of features and proper Kotlin support in Eclipse. You’re free to use another IDE, but will not get support setting up the environment.
Once you have setup a workspace as per above, import the
- File -> New -> Project from Existing Sources.
kamiblue, then the
- In the Gradle tab on the right, expand Run Configurations
genIntellijRuns, then press the reimport 🔄 button above.
- You should see a
RUNCLIENTat the top now, you can press the green ▶️ start button to start Minecraft.
- If you do not see it, you can manually find it inside Gradle -> Tasks -> fg_runs -> runClient.
Could not create task ‘:_’.
You will want to delete your Forge caches (below), along with running
Make sure to run the setup script afterwards.
Linux / OSX:
This means you decompiled Minecraft previously on JDK 11 or newer, and are now using JDK 8. Follow the above instructions to reset the caches and run the setup script again.
Contact support for help, and we can add additional troubleshooting here.