Java Edition Datapack Language Server
This extension provides you with a language server that will check your datapack files for syntax errors and provide you with autocompletion for all components that are supported by the current Paper / Minecraft version. Therefore, it spins up a Paper Server in the background, which will load your datapack and provide the language server with the necessary information. FeaturesThe extension does support the following features: ValidationValidate your datapack files with the help of the language server. The language server will check for syntax errors and provide you with a list of errors and warnings. .mcfunctionThe .mcfunction will be scanned for syntax errors, NBT properties and missing references. Loot Tables, Item Modifiers, PredicatesThe language server will check for syntax errors and missing references.
RecipesThe language server will check for syntax errors and missing references. AutocompletionThe language server will provide you with autocompletion for all components that are supported by the current Paper / Minecraft version. Simply start typing and the language server will provide you with a list of possible completions. Code ActionsThe language server will provide you with code actions for common problems: Convert to 1.20.5 formatVersion 1.20.5 introduced a new format for items and their respective NBT data, called components.
The language server will provide you with a code action to convert your NBT data to the new format:
You can also convert the entire file to the new format or all files in the entire workspace by executing the command Requirements
ConfigurationThe extension will automatically activate, when there is a If the version you want to use is not available, you can update the list of available versions by executing the command Known IssuesI created a new loot table, item modifier, predicate or recipe, but the language server does not recognize it.
Copyright (c) Chrotos.net. All rights reserved. Licensed under the MIT license. NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG. |