Thanks for your interest in contributing to Distant Horizons!
Check out the Core Wiki for a rough overview of Distant Horizon's project structure.
We love merge requests from everyone.
By sending a merge request, you agree to abide by the Distant Horizons Contributor Code of Conduct.
Contributions to this project are under the lesser GPL v3 license Copyright James Seibel, so please include the license header at the top of any new code files.
-
Fork, then clone the repo:
git clone --recurse-submodules https://gitlab.com/jeseibel/distant-horizons.git
-
Set up your dev environment:
./gradlew build
-
(Optional) Confirm the tests pass:
./gradlew test
-
(Optional) Confirm the game runs with either Forge or Fabric:
./gradlew forge:runClient
./gradlew fabric:runClient
-
Make your change(s).
-
Add tests (if appropriate).
-
Confirm the tests pass
./gradlew test
-
Confirm the game runs with both Forge and Fabric:
./gradlew forge:runClient
./gradlew fabric:runClient
When running the game, load or generate a world to confirm Distant Horizons initializes correctly. -
Push to your fork, make sure to include the Core submodule, and submit a new merge request.
- Check the existing issue list to verify that a given bug, feature, or improvement hasn't already been submitted.
- Please open an issue if things aren't working as expected.
- Open a merge request to: fix bugs, fix documentations, improve an existing system, or complete a feature.
- When contributing:
- Put any Minecraft independent code in the Core repo when possible.
- Comment and format your code so other people can easily understand it.