Skip to content

jocopa3/Minecraft-Addon-Syntax-Highlighter

Repository files navigation

Minecraft-Addon-Syntax-Highlighter

A syntax highlighter for Minecraft JSON addon files.

Installation

Sublime Text 2 & 3

  1. Download this repository as a .zip file
  2. Open the Packages folder (Preferenes -> Browse Packages...)
  3. Copy the MCAddon folder from the Sublime Text folder to the Packages folder

To use the syntax highlighter:

  1. Open a Minecraft addon JSON file
  2. Go to View -> Syntax and select Minecraft Addon

VSCode

  1. Download this repository as a .zip file
  2. Navigate to the VSCode extensions folder
  • Windows: %USERPROFILE%\.vscode\extensions
  • Mac/Linux: $HOME/.vscode/extensions
  1. Copy the mcaddon folder from the VSCode folder to the extensions folder

To use the syntax highlighter:

  1. Open a Minecraft Addon file
  2. Press CTRL-K then press M
  3. 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:

About

A syntax highlighter for Minecraft JSON addon files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published