Skip to content

Contributing

Elias B edited this page Nov 10, 2026 · 1 revision

Contributing

Contributions are welcome. Before opening a pull request, check existing issues and keep each change focused.

Development setup

Cinder is a Gradle project with a shared common module and separate fabric and neoforge modules. The current project configuration requires JDK 25.

git clone https://github.com/ItzjustElias/cinder.git
cd cinder

Open the project as a Gradle project in your IDE. To build both loader jars and run the shared unit tests:

./gradlew buildAll

On Windows, use gradlew.bat instead of ./gradlew.

Useful commands

Command Purpose
./gradlew :common:test Run common unit tests
./gradlew :fabric:runClient Launch a Fabric development client
./gradlew :neoforge:runClient Launch a NeoForge development client
./gradlew spotlessApply Format Java sources
./gradlew buildAll Run formatting checks, tests, and build both loaders

Changes to mixins, raycasts, or the configuration screen should also be checked in a running game on the relevant loader.

Where code belongs

  • Put loader-independent code in common.
  • Put loader entrypoints, metadata, and loader-specific integration in fabric or neoforge.
  • If common code needs loader-specific functionality, add it to the Platform interface and implement it for both loaders.
  • Add mixins to the common mixin package and register them in cinder.mixins.json.
  • Prefer extracting decision logic into testable methods and adding or updating unit tests.

Pull requests

  1. Create a short-lived branch for the change.
  2. Make a focused change and update relevant documentation.
  3. Run the tests and build commands relevant to your change.
  4. Open a pull request using the repository's pull request template.
  5. Include the exact validation commands you ran and their results.

For more detailed repository conventions and release instructions, see the development guide.

Clone this wiki locally