Integration between the adventure library and Minecraft: Java Edition for the Fabric and NeoForge modding systems.
See the documentation for usage and dependency information for this project and the main adventure
library.
adventure-platform-mod
tends to not work on more than one major version of Minecraft at a time. See the docs for the latest tested versions on each Minecraft release.
We appreciate contributions of any type. For any new features or typo-fix/style changes, please open an issue or come talk to us in our Discord first, so we make sure you're going in the right direction for the project.
All the adventure projects are built with Gradle and use a common checkstyle configuration. adventure-platform-mod
requires the same Java version that Minecraft itself does in the target version. Please make sure all tests pass, license headers are updated, and checkstyle passes to help us review your contribution.
An unfortunate quirk with Loom is that it resolves dependencies in the configuration phase, before any task execution can happen, so we have to run Gradle twice to generate templates (the first without the daemon, since loom caches some information), then apply our in-project interface injections. Sorry!
This looks like:
$ ./gradlew --no-daemon generateTemplates
$ ./gradlew build
To have browsable game source in your IDE, run ./gradlew genSources
before importing the mod
adventure-platform-mod
is released under the terms of the MIT License.