百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
V

VanillaGradle

> 包管理
开源

一个用于 Minecraft: Java Edition 的工具链,它构建了一个工作空间,可使用 Mojang Stud 为公众提供的官方分发版与游戏进行交互

99 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

一个用于 Minecraft: Java Edition 的工具链,它构建了一个工作空间,可使用 Mojang Stud 为公众提供的官方分发版与游戏进行交互

VanillaGradle is a toolchain for Minecraft: Java Edition that provides a workspace to interact with the game using official unobfuscated jars provided by Mojang Studios. This plugin requires at least Gradle 9.2.1 and Java 25 to run.

VANILLAGRADLE IS NOT DESIGNED AND IS NOT GENERALLY USEFUL FOR END-USER USE. IT IS FOR TOOLING AND PLATFORM DEVELOPERS WHO HAVE A SOLID WORKING KNOWLEDGE OF GRADLE ONLY!

Documentation

The main documentation for VanillaGradle can be found in the Wiki.

For additional help use the channel #vanillagradle on the Sponge Discord server.

Otherwise, to get a workspace up and going with vanilla Minecraft immediately it is as simple as creating a Gradle build based on this buildscript:

gradle
plugins {
    java
    id("org.spongepowered.gradle.vanilla") version "0.3.2"
}

group = "org.example"
version = "1.0-SNAPSHOT"

repositories {
    mavenCentral()
}

minecraft {
    version("26.1") // or: latestRelease() or latestSnapshot()
    runs {
        server()
        client()
    }
}

Within IntelliJ IDEA and Eclipse, this will generate run configurations named runClient and runServer

To have browsable sources in-IDE, run ./gradlew decompile

Building VanillaGradle

VanillaGradle uses the Gradle build automation system. To perform a build, use Gradle version 9.2.1 and execute

gradle build

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

Compatibility: We use Semantic Versioning for the user-visible API in VanillaGradle. This applies to every public class outside of the org.spongepowered.gradle.vanilla.internal package. The contents of the internal package are considered implementation details and are subject to change at any time.

  Version
  Date
  Features / Changes






  0.3.2
  February 2026

Fix assets download errors

  0.3.1
  January 2026

Replace Apache HTTP client with the JDK one

Replace org:immutables with JDK records

Migrate nullable annotations to JSpecify

No longer require Sponge maven repository

  0.3.0
  December 2025

Require Java 25 and Gradle 9

Remove de-obfuscation

Bump minimum Minecraft version to 26.1-snapshot-1

  0.2.2
  November 2025

Require Java 11

Improve IntelliJ IDEA project sync performance

Compatibility with shadow plugin 9.0.2

  0.2.1
  November 2025

Use Forge's renamer for remapping rather than Atlas

Strip jar signature

Support Minecraft 1.19-pre1 client

Choose Vineflower as our default decompiler

Avoid running asset/native downloads when unnecessary

More run options (source set, environment variables)

  0.2
  May 2021

Run configurations are generated for Eclipse

Sources are now visible in-IDE

Asset download task now validates existing assets

Minecraft artifacts are now only generated when changed, improving build performance

Non-access widened jars are stored in a global shared cache rather than per-project

Custom version manifests can be provided for out-of-band releases, such as combat snapshots

The javaVersion field recently added to Mojang launcher manifests is now used to determine runtime toolchains

  0.1
  February 2021

Initial Release

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Javagradlegradle-pluginjavaminecraft

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类包管理
定价开源

> 相关工具

N
npm
Node.js 默认包管理器
P
pnpm
高效节省磁盘的 Node 包管理器
I
is-gif
Check if a Buffer/Uint8Array is a GIF image