Minecraft-Addon-Syntax-Highlighter
A syntax highlighter for Minecraft JSON addon files.
Installation
Sublime Text 2 & 3
- Download this repository as a
.zip
file - Open the Packages folder (Preferenes -> Browse Packages...)
- Copy the MCAddon folder from the Sublime Text folder to the Packages folder
To use the syntax highlighter:
- Open a Minecraft addon JSON file
- Go to View -> Syntax and select Minecraft Addon
VSCode
- Download this repository as a
.zip
file - Navigate to the VSCode extensions folder
- Windows:
%USERPROFILE%\.vscode\extensions
- Mac/Linux:
$HOME/.vscode/extensions
- Copy the mcaddon folder from the VSCode folder to the extensions folder
To use the syntax highlighter:
- Open a Minecraft Addon file
- Press
CTRL-K
then pressM
- Type Minecraft Addon and press enter
Screenshots
Screenshots used the Monokai Extended theme.
- Entity Component Group:
- Entity Events:
- Items.json file:
- Trade JSON files:
- Loot Tables: