VanillaGradle is a toolchain for Minecraft: Java Edition that provides a workspace to interact with the game using official mappings provided by Mojang Studios.
Documentation
The main documentation for VanillaGradle can be found in the Wiki (not available yet).
For additional help use the channel #vanillagradle
on the Sponge Discord server.
Otherwise, to get a workspace up and going immediately it is as simple as
plugins {
java
id("org.spongepowered.gradle.vanilla") version "0.1"
}
group = "org.example"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
minecraft {
version("21w03a")
runs {
server()
client()
}
}
Within IntelliJ IDEA, this will generate run configurations named runClient
and runServer
Building VanillaGradle
VanillaGradle uses the Gradle build automation system. To perform a build, use gradle version 6.8.1 and execute
gradle
from within the project root directory. (If you do not have Gradle installed on your system you can instead run the supplied Gradle wrapper gradlew
)
Version History
Version | Date | Features / Changes |
---|---|---|
0.1 | February 2021 |
|