Awesome Open Source
Awesome Open Source


Minecraft Development for IntelliJ

Build Status
Main Build Teamcity Build Status
Nightly Builds 2021.2 2021.2 Nightly Status
2021.3 2021.3 Nightly Status
2022.1 2022.1 Nightly Status
2022.2 2022.2 Nightly Status
OS Tests GitHub Action Status

Info and Documentation Current Release

Visit for some information about the project.


This plugin is available on the JetBrains IntelliJ plugin repository.

Because of this, you can install the plugin through IntelliJ's internal plugin browser. Navigate to File -> Settings -> Plugins and click the Browse Repositories... button at the bottom of the window. In the search box, simply search for Minecraft. You can install it from there and restart IntelliJ to activate the plugin.


Build the plugin with:

./gradlew build

The output .zip file for the plugin will be in build/distributions.

Test the plugin in IntelliJ with:

./gradlew runIde

Code is generated during the build task, to run the generation task without building use:

./gradlew generate

This task is necessary to work on the code without errors before the initial build.

To format the code in this project:

./gradlew format

This will format using ktlint described below in the style guide section below.

The Gradle IntelliJ Plugin will handle downloading the IntelliJ dependencies and packaging the plugin.

Style Guide

This projects follows the opinionated ktlint linter and formatter. It uses the ktlint-gradle plugin to automatically check and format the code in this repo.

IDE Setup

It's recommended to run the ktlintApplyToIdea and addKtlintFormatGitPreCommitHook tasks to configure your IDE with ktlint style settings and to automatically format this project's code before committing:

./gradlew ktlintApplyToIdea addKtlintFormatGitPreCommitHook

IntelliJ includes a lot of dependencies transitively, including common dependencies that are used a lot, such as Kotlin, Commons Lang3, Guava, etc. Unfortunately, the source distribution for IntelliJ does not contain sources for libraries as well, so these libraries are imported into the IDE without sources by default. If you want to attach sources for (most) of the dependencies IntelliJ includes, run the resolveIntellijLibSources task and refresh the Gradle project in IntelliJ:

./gradlew resolveIntellijLibSources

If you're curious about that task, it is implemented in buildSrc.


Significant Contributors


This project is licensed under MIT.

Supported Platforms

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Plugin (113,841
Kotlin (46,457
Paper (18,799
Format (16,344
Minecraft (13,195
Gradle (12,971
Ide (8,895
Intellij (5,400
Mixins (4,566
Bukkit (2,523
Spigot (2,428
Modding (1,571
Jetbrains (1,471
Bungeecord (199
Gradle Kotlin Dsl (111
Mcp (51
Liteloader (7