2026.10.07-26.2, which runs Minecraft 26.2. The quickstart pack targets that same version.
Configure package access
The library is published to GitHub Packages. Maven downloads require a GitHub username and a token withread:packages, including for public packages.
Add these properties to your user-level ~/.gradle/gradle.properties:
gradle.properties
GITHUB_ACTOR and GITHUB_TOKEN; the build below accepts these
environment variables when the user-level properties are absent.
Add the repository and dependency
Add the following to your existing Gradle Kotlin build file:build.gradle.kts
npc-minestom already brings in npc-core. You do not need the importer or CLI to load
the prepared example. Your application supplies Minestom; the library does not start a server.
If your project already selects another Minestom version, check its compatibility before
changing it. A pack’s Minecraft target must also match the clients connecting to that server.
Continue with your first NPC.