/minecraft:debug-addonfrom minecraft
Validates and debugs Minecraft Bedrock Edition add-ons (behavior/resource packs) using Creator Tools. Fixes loading failures, missing textures, raw names, Content Log errors, and packaging issues.
Ships in minecraft. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Validation catches most packaging and reference mistakes, so start there, then fall back to the runtime checklist for problems validation can't see. Keep going until validation reports zero errors, then tell the user what you changed.
Validate the folder that contains behavior_packs/ and/or resource_packs/. A single pack folder (one with manifest.json) also works. If you can't tell which folder the user means, look for manifest.json files and ask if there's more than one candidate.
Run the bundled summary script. Here and in later commands, <this-skill-folder> is the folder that contains this SKILL.md:
node "<this-skill-folder>/scripts/validate-summary.mjs" <project-folder>
It runs npx -y @minecraft/creator-tools@latest validate -i <folder> --json --force, sending the CLI's report files to a temporary folder. It then drops the dozens of "passed" entries, merges duplicates, checks that pack dependencies point at real packs (which the CLI doesn't), lists references to vanilla (minecraft:) content separately, and moves known false positives into a "likely noise" section. Exit code 0 means no errors; exit code 2 means validation couldn't run or found no project, so don't report success.
Why not call the CLI directly? You can (--json output has errors, warnings, recommendations totals and a projects[].items[] list), but three things trip people up:
out/ folder in the current directory, which clutters the user's project. Pass -o <temp folder> to avoid it.--force, re-validating returns the earlier results, so your fixes look like they did nothing.testPass, info, or featureAggregate rows, which are not problems.The MCP server's validateFile tool works too, but the script gives a cleaner result for whole projects.
UNLINK warning pointing at your own namespace (for example geometry.demo.goblin not found) usually means something is invisible or missing in game.Check every ID in the "vanilla references" section: they're expected, because vanilla content lives outside the project, but a misspelled one such as minecraft:stik is a real bug. Leave "likely noise" alone unless the user wants a spotless report; Bedrock accepts those files as they are.
Look up fixes in references/validation-issues.md. For anything not listed there, open the docs: link the script prints; every check has a page in the Minecraft Creator Tools validation reference.
Missing pack icons are the most common error, and new projects created with Creator Tools don't include them. Create placeholders with:
node "<this-skill-folder>/scripts/make-pack-icon.mjs" <project>/behavior_packs/<pack> <project>/resource_packs/<pack> --color "#3C8527"
Run the summary script again after each round of fixes. Stop when there are zero errors and no warnings you can explain as real problems. If a fix doesn't take effect, check you edited the file at the path the report shows (paths are relative to the project folder).
Validation only checks files. For symptoms like an invisible mob, a purple-and-black texture, or a raw name such as entity.demo:goblin.name, work through references/runtime-symptoms.md. If the content is running in a Creator Tools session (started with createMinecraftSessionWithContent or mct serve) and you have the MCP tools, call getMinecraftSessionLogs to read the server's errors yourself, including script errors and JSON schema failures. Otherwise, ask the user to turn on Minecraft's Content Log and paste what it shows; references/content-log.md explains how to turn it on and read it.
Raw names are the most common runtime complaint, because Creator Tools doesn't generate localization. Fix them all at once:
node "<this-skill-folder>/scripts/add-missing-names.mjs" <project-folder> --name "demo:goblin=Swamp Goblin"
It adds missing mob and block names to the resource pack's texts/en_US.lang and a minecraft:display_name to items that lack one, and never changes existing names. Pass --name for anything whose ID doesn't title-case into the right name; --dry-run shows what it would do.
To inspect content without Minecraft (for example on a Mac, where the game can't be launched from here), suggest the user run npx -y @minecraft/creator-tools@latest view -i <project-folder>. It opens a read-only browser view with 3D previews and keeps running until they stop it, so don't run it yourself as a blocking command.
npx -y @minecraft/creator-tools@latest fix setnewestminengineversion -i <folder> updates min_engine_version in every manifest. This one works reliably.fix setnewestformatversions may report updatedCount: 0 and change nothing. Update format_version in individual files by hand instead, and only when you know the file's schema didn't change between versions; re-validate after each change.fix randomizealluids is destructive: it breaks existing worlds that use the packs. Only run it when the user is copying a project to make a new one, and confirm first.Run npx -y @minecraft/creator-tools@latest fix --list to see all fixes. Suggest committing to git (or making a copy) before running fixes, since they edit files in place.
Once validation shows no errors:
npx -y @minecraft/creator-tools@latest export addon -i <project-folder> -o <output-folder>
This writes <project>.mcaddon for a behavior/resource pack pair, or <project>.mcpack for a single-pack project. Opening that file on a device with Minecraft installed imports it. Before exporting, check that each pack has a real pack_icon.png (not a placeholder, if the user cares) and a sensible header.version in manifest.json. The flat exportaddon command still works with the same options on older pinned CLIs.
npx -y @minecraft/creator-tools@latest eula themselves.agents/openai.yaml (opens in a new tab)assets/icon-small.png (opens in a new tab)assets/icon.png (opens in a new tab)references/content-log.md (opens in a new tab)references/runtime-symptoms.md (opens in a new tab)references/validation-issues.md (opens in a new tab)scripts/add-missing-names.mjs (opens in a new tab)scripts/make-pack-icon.mjs (opens in a new tab)scripts/validate-summary.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mojang/minecraft-creator-tools --plugin minecraft6 skills in this plugin
/create-blockCreate a new placeable block for a Minecraft Bedrock Edition add-on from a plain description, or change an existing one, such as a decorative, glowing, ore, crate, slab, stairs, or light-source block, including its texture, sounds, mining time, drops, which way it faces, and whether it generates in the world. Use this whenever someone wants a new block or wants to change one of their blocks, for example "make a glowing mushroom block you can harvest", "add a ruby ore that generates underground", "create a stone brick variant", or "make my crate face the player". For mobs use create-mob, for handheld items use create-item, for redrawing a block's texture use design-model, and for structures built out of blocks use Minecraft Creator Tools' designStructure tool directly. Custom 3D block shapes aren't supported yet. Not for Minecraft Java Edition mods./create-itemCreate a new item for a Minecraft Bedrock Edition add-on from a plain description, or change an existing one, such as a weapon, tool, food, armor piece, throwable, or collectible, including its icon and crafting recipe. Use this whenever someone wants a new item or wants to change one of their items, for example "add a magic hammer", "make a food that restores lots of hunger", "create ruby armor", "add a crafting recipe for my sword", or "make my sword do more damage". For mobs use create-mob, for placeable blocks use create-block, and for custom icon art use design-model. Not for Minecraft Java Edition mods./create-mobCreate a new mob (custom entity) for a Minecraft Bedrock Edition add-on from a plain description, or change an existing one, including its health, attacks, AI behavior, taming, riding, drops, and natural spawning. Use this whenever someone wants a new creature, monster, animal, pet, boss, or NPC, or wants to change how one of their mobs behaves, for example "make a rideable red panda", "add a goblin that spawns in swamps at night", "make my goblin scared of zombies", or "give the goblin more health". For items use create-item, for blocks use create-block, and for changing how a mob looks use design-model. Not for Minecraft Java Edition mods./creator-tools-cliRun the Minecraft Creator Tools command line (mct, the @minecraft/creator-tools npm package) for Minecraft Bedrock Edition add-ons. Use this whenever you need a Creator Tools command that isn't an MCP tool, or the MCP server isn't connected, for example validating or fixing a project, packaging it as a .mcaddon or .mcpack, deploying it to Minecraft, rendering a model or vanilla block to a PNG, opening the browser viewer or editor, creating a project from a template, running a local server, or looking up a command's options. For creating mobs, items, or blocks use create-mob, create-item, or create-block, and for finding and fixing validation problems use debug-addon. Not for Minecraft Java Edition./design-modelDesign or change how things look in a Minecraft Bedrock Edition add-on - 3D models and textures for mobs, and pixel-art icons for items and textures for blocks. Use this whenever someone wants to reshape, restyle, recolor, or retexture a mob, or redraw an item icon or block texture, for example "make my goblin look like a mushroom", "give the dragon bigger wings", "draw a purple hammer icon", or "make my ore texture look more sparkly". Also use it after create-mob, create-item, or create-block when the user described a specific look. Custom 3D shapes for blocks and held items aren't supported yet. Not for Minecraft Java Edition models or Blockbench plugin work.Other plugins' skills for the same job