Improved syntax highlighting for Minecraft commands with theme support using TextMate.
- Better syntax highlighting for Minecraft commands.
- Custom theme and grammar support with resource packs.
- Bracket pair colorization.
- API for other mods to use.
To switch themes, type /betterhighlighting theme <theme> in the chat. Command should suggest available themes.
Ayu Dark. License: MIT | RepositoryCatppuccin Frappe. License: MIT | RepositoryDark Plus. License: MIT | RepositoryDracula. License: MIT | RepositoryGitHub Dark. License: MIT | RepositoryHouston. License: MIT | RepositoryMaterial. License: Apache 2.0 | RepositoryMonokai. License: MIT | Repository
To use the API, add the following repositories to your build.gradle:
maven { url "https://maven.shurik.me/releases" } // Better Highlighting
maven { url "https://repo.eclipse.org/content/repositories/tm4e-snapshots/" } // TM4E artifactsThen add this mod as a dependency:
modImplementation "me.shurik:better-highlighting:<version>"Replace <version> with the version you want to use. You can view the list of versions here.
This mod uses TextMate grammar library TM4E and a slightly modified version of syntax-mcfunction grammar.