Sponge is an implementation of the SpongeAPI for Minecraft Forge.
NOTE: THIS PROJECT IS CURRENTLY A WORK IN PROGRESS. WE DO NOT RECOMMEND USING IT AT THIS TIME.
First, be sure to initialize the Git submodules:
git submodule update --init --recursive
Then use the provided Gradle runtime to compile.
./gradlew build
Note: This project currently needs a very recent build of Forge. Please see build.gradle
for the current version/branch requirements.
Before doing any major code changes, you probably want to have access to the minecraft source for reference:
./gradlew setupDecompWorkspace
Make sure your code compiles, passes tests and checkstyle, and has the correct license headers before committing:
./gradlew build
./gradlew
A pre-commit hook is available that automatically checks and applies the license headers. To use it, copy it to .git/hooks
cp scripts/pre-commit .git/hooks
Sponge is available under the MIT license. The license can be found in LICENSE.txt.
Contributions must be licensed under the MIT license.
Only one commit per PR.
Keep all related changes in a single PR.
Be descriptive, explain the reasoning behind your changes.