Changes:
- Added support for color pickers in VSCode
- (block-)entity NBT can now be read in everywhere (selectors, `data merge`, etc.)
- Added support for auto-completing NBT paths
- All of the mod's NBT auto-completions are also available in chat now (if this conflicts with other mods, it can be disabled in the config by setting `add-ingame-suggestions` to `false`)
- Selectors, NBT paths, Commands and Macros inside NBT or JSON strings are also parsed now
- The macro cache now detects if only a single macro was changed, in which case only that macro has to be reparsed
- Added warnings for unknown/unused JSON or NBT keys
- Added `@` as trigger character for completions
- Added "SavedFileAutomaticReloadDelay" setting in VSCode
- Added the `/commandcrafter:datagen` clientside command, which uses Minecraft's datagen to produce files similar to mcmeta (`commands.json`,`blocks.json` and `registries.json`), which can be loaded into Spyglass. The corresponding Spyglass config is also generated in the output folder if there isn't already a Spyglass config present.
- The data generation can also be invoked on server start by setting the `-Dcc_server_datagen_dir=path/to/output` JVM argument
- "Go to definition" now also works if the cursor is exactly at the end of an id
- Some performance improvements
Removed:
- Removed SNBT highlighting for strings that just look like SNBT but Minecraft doesn't actually parse them as SNBT
Fixes:
- Fixed SNBT builtin functions not being highlighted
- Fixed SNBT incorrectly suggesting commas in some places
- Fixed missing suggestions for tag entries
- Fixed that the mod suggested some unicode name in `"\N{...}"` that aren't actually accepted by Minecraft
- Fixed particle argument analyzer in `vanilla easyNewLine` trying to read nbt in lines following it
- Fixed that `max_format` suggestions in `pack.mcmeta` specified a minor version, which isn't forwards compatible
- Fixed some thread pools not being shutdown when Minecraft exits and leading to a watchdog timeout
Optional dependencies
PartialIdAutocomplete
Any compatible version
Mod Menu
Any compatible version
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }