Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Cobblemon Schema ToolsNew to Visual Studio Code? Get it now.
Cobblemon Schema Tools

Cobblemon Schema Tools

ppVon

|
275 installs
| (1) | Free
Workspace-wide Cobblemon data validation, asset linkage diagnostics, and guided builders for Cobblemon addon content.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Cobblemon Schema Tools

A VS Code extension for building Cobblemon addons and datapacks. It checks your pack files as you type and shows problems in the Problems panel.

Validation uses @cobbled-creators/cobblemon-validator with the schemas from @cobbled-creators/cobblemon-schemas (both from cobblemon-schemas). The editor reports the same errors, worded and placed the same way, as the validator's validatePack.

Cobblemon versions

The extension bundles schemas for Cobblemon 1.8 and 1.7. Pick yours with Cobblemon: Select Cobblemon Version (or click the version in the status bar). It's saved as the cobblemonSchemaTools.cobblemonVersion workspace setting.

Editing help

In any pack file the extension recognizes:

  • Completions for property names (required ones first), inserting the key with a placeholder value, and for values that have a fixed set of options ("type": "flag", egg groups, booleans). For files with several variants, like species features, spawns and NPC party providers, suggestions follow the variant your type (or variant) already picks.
  • Hover on a key or value shows its type, whether it's required, its allowed values and default.
  • Quick fixes for missing lang keys (adds the key to the pack's lang files and opens it for you to fill in) and for schema errors: add missing properties, fix a misspelled property or value (keyz → keys, flagg → flag), remove an unknown property, and convert a value to the right type ("7" → 7, "true" → true).

Cross-file checks

Beyond each file's schema, the extension checks that files point at things that exist:

  • resolvers → species, posers, models, textures (including layers and animated frames)
  • posers → animation groups and the animations inside them
  • dex entries → species, dex entry additions → dex entries, species additions → species
  • species → their name and Pokédex lang keys

It also flags poser ids defined by more than one file, posers no resolver uses, and resolver/poser files that break Cobblemon's naming conventions. When you edit or add a file, only the files linked to it are re-checked, including from unsaved edits.

References to Cobblemon's own content (cobblemon:bulbasaur, its posers, models, textures, animation groups and lang keys) are checked against the indexes in the schema package for your Cobblemon version, so a typo in a stock id is caught too. Animation names are only checked for animation groups in your workspace.

Moves and abilities

Custom Showdown move and ability files (data/<namespace>/moves/*.js, data/<namespace>/abilities/*.js) are checked as you type against the move and ability types for your Cobblemon version (from the schemas package): unknown or misspelled settings, wrong values, callbacks that aren't functions, out-of-range numbers, unknown callback names, and missing <namespace>.move.<name> / <namespace>.ability.<name> lang keys. Completions inside them offer settings, allowed values and callback snippets.

You can also write them in TypeScript for type checking and autocomplete: turn on useTypescriptForMoves / useTypescriptForAbilities, or run Cobblemon: Convert to TypeScript on an existing file. The types come from the schemas package for your Cobblemon version. They're written to the pack's .cobblemon-schema-tools/ folder whenever it has a TypeScript move or ability, and kept in step when you change versions. Cobblemon only loads .js, so use Cobblemon: Package Addon Zip, which converts them, before testing in game.

pack.mcmeta

Every pack in the workspace (including ones in subfolders) is checked for a pack.mcmeta. It's also checked for a pack_format/supported_formats that the Minecraft version your Cobblemon version targets will load without calling the pack incompatible.

Commands

  • Cobblemon: Validate Workspace Data: re-checks every pack file and reports how many have problems.
  • Cobblemon: Select Cobblemon Version: chooses which Cobblemon version's schemas to validate against.
  • Cobblemon: New Data File: creates any kind of Cobblemon data file (species, spawn pools, dialogues, ride settings, …) in the right folder, filled in with the fields it requires. For a spawn pool, pick a species from your pack or from Cobblemon itself.
  • Cobblemon: Generate pack.mcmeta: creates a pack.mcmeta with the pack formats for the Minecraft version your Cobblemon version targets.
  • Cobblemon: Pokémon Builder Form: creates a species with its resolver, poser, lang entries, dex entry and optional species features from a form.
  • Cobblemon: Move Builder Form / Cobblemon: Ability Builder Form: create a move or ability file (JavaScript or TypeScript) and its lang entries from a form.
  • Cobblemon: Convert to TypeScript: turns the open .js move or ability file into .ts.
  • Cobblemon: Package Addon Zip: checks the pack for errors, then zips pack.mcmeta, pack.png, data/, assets/ and any license/readme, converting TypeScript moves and abilities to JavaScript.

Settings

  • cobblemonSchemaTools.cobblemonVersion: 1.8 (default) or 1.7.
  • cobblemonSchemaTools.enableWorkspaceValidation: turns validation on or off.
  • cobblemonSchemaTools.crossFileSeverity: warning (default), error or information for broken references. References into other mods or addons can't be checked, hence the warning default.
  • cobblemonSchemaTools.checkAssetNaming: point out naming-convention issues (on by default, shown as information).
  • cobblemonSchemaTools.useTypescriptForMoves / useTypescriptForAbilities: make the move and ability builders create .ts files.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft