Skip to content

Dependencies

INFO

Minestom needs Java 21 or newer in order to run. If you are using Gradle, you must use version 8.5 or higher.

Adding Minestom to your Java project is done just like a normal library.

Repositories

groovy
repositories {
    mavenCentral()
}

Dependencies

groovy
dependencies {
    implementation 'net.minestom:minestom-snapshots:<--version-->'
}

The version string is always the first 10 characters of a commit hash. You can view commits here.

Minestom PR branches are also published and can be used to preview upcoming features. For such branches, the version string is {branch}-{first 10 chars of commit}. For example, the 1_20_5 branch was usable with the version string 1_20_5-dd965f4bb8.