An IntelliJ IDEA extension providing powerful tools for working with Kore, a Kotlin library for creating Minecraft datapacks without writing JSON.
An IntelliJ IDEA extension providing powerful tools for working with Kore, a Kotlin library for creating Minecraft datapacks without writing JSON. Features:
function("name")strings are real references: Ctrl+Click to the declaration, Find Usages and Rename from either side, and a gutter icon on each function listing its calls.- Completion of your function names in
function("...")and of vanilla ids initem("..."),block("...")andXxxArgument("..."), taken from the Kore version your project uses. - A "Kore Elements" tool window listing every kind of Kore declaration as a tree mirroring your generated datapack, with hover previews, copy actions and jump-to-source, plus inlay hints showing where each declaration is generated and a gutter icon on every declaration with the same hover.
- Inspections catching what compiles but breaks in-game:
function("name")calls to a function declared nowhere (with quick-fixes), two declarations writing the same file, invalidcraftingShapedpatterns, unknown vanilla ids,Items.X.components = ...changing a shared enum entry,^coordinates mixed with~, and invalid macro names. - Run integration through the Kore Gradle plugin: a run marker on
dataPack(...)forkoreRun/koreBuild/koreLink/koreReload, an intention that applies the plugin to yourbuild.gradle.kts, completion of your world names inkore { worlds = ... }, and links from the run console back to your declarations. - Live templates for datapacks, functions, loot tables, advancements, recipes and more, and a New > Kore DataPack file.
Kore Assistant enhances your development experience with Kore by providing useful features directly within IntelliJ IDEA.
- Gutter Icons: Every Kore declaration (datapacks, functions, advancements, loot tables, recipes, tags...) has an
icon in the editor gutter; hovering it shows the same card as the tool window. The function icon lists every
function("name")call to that function. - Function references: Ctrl+Click on the string of a
function("name")command jumps to the declaration, includingfunction("namespace:name"),function("namespace", "name")and names with a directory ("utils/helper"). Find Usages and Rename work from the call or from the declaration; renaming keeps namespaces and directories. - Completion: inside
function("..."), the functions your project declares; insideitem("..."),block("...")and anyXxxArgument("..."), the vanilla ids of the Kore version your project depends on. - Inlay Hints: each declaration shows its resource location (
pack:utils/helper) after its arguments, or its output file path, configurable in Settings > Editor > Inlay Hints. - Kore Elements Tool Window: Browse every kind of Kore declaration (advancements, loot tables, recipes, predicates, dialogs, worldgen, and more) as a tree mirroring the generated datapack layout, groupable by output structure, source file or flat list, and sortable by name, kind, namespace or declaration order. Filter and speed search narrow the tree down; hovering a row shows a documentation-style card with its resource location, generated path, command and source; right-clicking offers Jump to Source, Find Usages and a Copy menu previewing each value (resource location, namespace, path, command, Kotlin call, output path, source location, or all of them for a whole datapack, namespace or folder).
- Inspections: a
function("name")command whose target is declared nowhere in the project is an error, with quick-fixes to pick the closest name, call it under the namespace it actually lives in, swap(name, namespace)arguments passed in the wrong order, or create the function. Two declarations writing the same file in one datapack are a warning (the last one generated silently wins). AcraftingShapedrecipe with more than 3 rows, rows of different widths, a pattern character without akey, or an unused key is an error. An unknown vanilla id such asitem("diamond_swrod")is a warning with the closest ids as fixes. AssigningItems.DIAMOND_SWORD.components(which changes the entry for the whole datapack), mixing local^coordinates with~or absolute ones, and macro names holding anything else than letters, digits and underscores are errors. - Run integration: with the Kore Gradle plugin applied, the run
marker on
dataPack(...)offerskoreRun(build, link into your worlds,/reloadover RCON),koreBuild,koreLinkandkoreReload, each as a Gradle run configuration. Without it, Alt+Enter ondataPack(...)offers Apply the Kore Gradle plugin, which shows thebuild.gradle.ktsdiff (plugin line +kore { mainClass }block) before writing it and syncing. Insidekore { worlds = listOf("...") }, completion lists the worlds of your Minecraft installation. Resource locations Kore prints in the run console link back to their declaration. - Live Templates:
dp,dpmain,fn,load,tick,exec,lt,adv,shapedandftagscaffold the common Kore blocks and import the builders they use. New > Kore DataPack creates amaingenerating a datapack, ready for the Kore Gradle plugin. - Kore updates: opt in under Settings > Tools > Kore Assistant to be told when a newer Kore version is released.
-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "Kore Assistant" > Install
-
Manually:
Download the latest version from JetBrains Marketplace and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
-
Gutter Icons: Look for the Kore icon next to your declarations, and hover it to see where the declaration ends up.
-
Kore Elements Tool Window: Access the tool window via View > Tool Windows > Kore Elements. It lists every Kore declaration found in your current project; double-click an entry to jump to it, hover a row for details, or right-click for Copy, Jump to Source and Find Usages.
This project is licensed under the MIT License - see the LICENSE file for details.
- Based on the IntelliJ Platform Plugin Template.

