@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
238 lines (160 loc) • 9.83 kB
Markdown
# Changelog — @minecraft/creator-tools
All notable changes to the `@minecraft/creator-tools` npm package are documented below.
For the full commit history, see [Releases](https://github.com/Mojang/minecraft-creator-tools/releases).
---
## [Unreleased]
### Added
- **Visual editors for loot, trade, and recipe content**: New drag-and-drop
visual editors for loot tables (`LootPoolVisualEditor`, `LootEntryEditor`,
`LootItemDropZone`, `DiceRollEditor`), trade tables (`TradeTableVisualEditor`,
`TradeTierVisualEditor`, `TradeEditor`), and crafting recipes
(`RecipeEditor`, `ShapedRecipeEditor`, `ShapelessRecipeEditor`,
`CraftingSlot`) replace raw JSON editing for these formats.
- **Block & item picker dialogs**: New `BlockPickerDialog` and
`ItemSpritePicker` browse vanilla blocks and items by sprite. Backed by
pre-rendered atlases (`block-sprites.png`, `item-sprites.png`) generated by
the new `generate-block-atlas.mjs` and `generate-item-catalog.mjs` build
scripts.
- **Simplified Spawn Rules editor**: New `SimplifiedSpawnRulesEditor` (with a
`SpawnRulesEditorWrapper` that toggles between simplified and advanced views)
makes spawn-rule authoring approachable without learning the full schema.
- **Slash-command palette for in-app actions**: New tool commands —
`Add`, `Deploy`, `Export`, `FormatDocument`, `Info`, `OpenFile`,
`OpenSettings`, `ReloadProject`, `SwitchMode`, `ToggleInspector`,
`Validate` — accessible from the command bar.
- **Global error overlay**: New `GlobalErrorBoundary` and
`GlobalErrorOverlay` (backed by `core/ErrorService`) catch uncaught
exceptions and present a friendly recovery surface instead of a blank
screen.
- **Pseudo-locale**: Added `pseudo.json` locale and `generate-pseudo-locale.mjs`
for visual i18n testing (long strings, accented characters), plus a new
`withLocalization` HOC and Playwright pseudo-locale specs.
- **New block traits**: `ExplosionResistantBlockTrait`, `FenceBlockTrait`,
`FlammableBlockTrait`, `RedstoneProducerBlockTrait`, `SlipperyBlockTrait`
(replacing the removed `ContainerBlockTrait`) for richer
`mct validate` reporting.
- **Custom dimension validation**: New
`CustomDimensionWorldDataInfoGenerator` plus
`CustomDimensionValidationTest` validate world content that uses custom
dimensions.
- **Trading behavior model**: New `ITradingBehavior` interface and content
schema (`trade_table.json`) round out first-class support for villager
trade tables alongside the new visual editor.
- **Pack header forms**: New `behavior_pack_header_json.form.json` and
`resource_pack_header_json.form.json` provide guided editing for pack
manifest headers.
### Changed
- **Translations refreshed**: All shipped locales (28 files: bg_BG, cs_CZ,
da_DK, de_DE, el_GR, en_US, es_ES, es_MX, fi_FI, fr_CA, fr_FR, hu_HU,
id_ID, it_IT, ja_JP, ko_KR, nb_NO, nl_NL, pl_PL, pt_BR, pt_PT, ru_RU,
sk_SK, sv_SE, tr_TR, uk_UA, zh_CN, zh_TW) updated to cover the new
editors, dialogs, and command palette strings.
- **Schema-driven editors expanded**: Updates to `SchemaForm`,
`SchemaParser`, `SchemaEditor`, the new `DataFormComponentAccordion`, and
the `MaterialRenderer` improve consistency between simplified and advanced
editing modes across biome, entity, block, item, feature, and event
editors.
- **CLI hardening and JSON contract**: Stable `schemaVersion: "1.0.0"` JSON
output across `version`, `info`, `validate`, `eula`, `passcodes`,
`set-server-props`, `world`, `aggregate-reports`, `search`, `setup`, and
`set` commands. New CLI tests cover JSON contracts, exit codes, the
`--yes` flag, and bad-path handling.
- **Inspector view**: PASSED rule rows are now hidden by default. Errors,
warnings, and recommendations remain visible. To show passed rows again,
toggle the "Passed" filter chip at the top of the Inspector panel.
- **Format on save**: now OFF by default. Hand-formatted JSON (compact arrays,
inline component groups, comments) is preserved on save. To re-enable
auto-format on every save, open the Settings panel and turn on
"Format JSON and script on save".
## [0.16.1] (2026-04-03)
- Bug fixes in the serve UX
- Fix forms for mctools.dev
## [0.16.0](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.16.0) (2026-04-02)
- Modernized CLI entry point (ESM modules).
- Added interactive Ink-based terminal UI for richer CLI experiences.
- Integrated `@minecraft/bedrock-schemas` for schema-aware validation.
- Added WebSocket-based server communication (`ws`).
- Added JSONC (JSON with comments) support via `comment-json`.
- Added PNG rendering capabilities (`pngjs`).
- Upgraded `commander` to 14.x for improved CLI argument handling.
- Added MCP (Model Context Protocol) server support (`mct mcp`)
- Added supply-chain provenance attestations (SLSA).
## [0.15.6](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.15.6) (2026-03-25)
- First release with SLSA provenance attestations on npm.
- Bug fixes and stability improvements.
## [0.15.5](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.15.5) (2026-02-19)
- Bug fixes and maintenance updates.
## [0.15.3](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.15.3) (2025-12-31)
- Bug fixes and content updates.
## [0.15.2](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.15.2) (2025-12-10)
- Bug fixes.
## [0.15.1](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.15.1) (2025-12-09)
- Expanded bundled content (additional forms and schemas).
- Bug fixes and improvements.
## [0.15.0](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.15.0) (2025-11-18)
- New minor release with additional features and content.
## [0.14.4](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.14.4) (2025-10-15)
- Bug fixes.
## [0.14.3](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.14.3) (2025-10-04)
- Bug fixes.
## [0.14.2](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.14.2) (2025-09-29)
- Bug fixes and content updates.
## [0.14.1](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.14.1) (2025-09-10)
- Bug fixes.
## [0.14.0](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.14.0) (2025-09-08)
- Added JSONC parsing support (`jsonc-parser`) for Minecraft content files with comments.
- Added deterministic JSON serialization (`json-stable-stringify`).
- Expanded bundled content and form definitions.
## [0.13.1](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.13.1) (2025-08-27)
- Bug fixes.
## [0.13.0](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.13.0) (2025-08-14)
- Expanded content definitions and validation forms.
- Bug fixes and dependency cleanup.
## [0.12.1](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.12.1) (2025-07-30)
- Bug fixes.
## [0.12.0](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.12.0) (2025-07-28)
- Upgraded minimum Node.js runtime from 20.x to 22.x.
- Added Zod schema validation (`zod`).
- Added JSON Schema support (`json-schema`).
- Significant expansion of bundled content and validation rules.
- Removed legacy threading and AJV dependencies.
## [0.11.1](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.11.1) (2025-05-29)
- Bug fixes.
## [0.11.0](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.11.0) (2025-05-16)
- New features and expanded content handling.
## [0.10.1](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.10.1) (2025-04-22)
- Bug fixes.
## [0.10.0](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.10.0) (2025-04-11)
- Significant expansion of bundled content and validation forms.
- Added content moderation support (`obscenity`).
## [0.9.1](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.9.1) (2025-04-04)
- Bug fixes and stabilization.
## [0.9.0](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.9.0) (2025-03-18)
- Added TGA texture file support (`@lunapaint/tga-codec`).
- Expanded content definitions.
## [0.8.0](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.8.0) (2025-03-03)
- Major expansion of bundled content and web assets.
- Added `view` and `edit` web-based UX commands for content inspection and editing.
## [0.7.0](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.7.0) (2025-02-11)
- New features and improvements.
## [0.6.3](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.6.3) (2025-01-07)
- Bug fixes.
## [0.6.2](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.6.2) (2024-12-17)
- Updated dependencies (`ajv`, `@octokit/rest`).
## [0.6.1](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.6.1) (2024-12-05)
- Bug fixes.
## [0.6.0](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.6.0) (2024-11-21)
- Expanded content and validation support.
- Removed `trash` dependency.
## [0.5.1](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.5.1) (2024-10-17)
- Bug fixes.
## [0.5.0](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.5.0) (2024-10-10)
- Expanded content definitions.
## [0.4.6](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.4.6) (2024-09-16)
- Bug fixes.
## [0.4.5](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.4.5) (2024-09-16)
- Bug fixes.
## [0.4.4](https://www.npmjs.com/package/@minecraft/creator-tools/v/0.4.4) (2024-09-09)
- Initial public release on npm.
- Core CLI commands: `validate`, `create`, `info`, `deploy`, `serve`.
- Minecraft Bedrock add-on validation and project management.