Back to 9Minecraft
Wiki 9Minecraft Wiki 9Minecraft
Better Highlighting Wiki › Guides › Integrate Better Highlighting with Other Mods Using the API

Integrate Better Highlighting with Other Mods Using the API

Understanding the API

Better Highlighting Mod provides an API that allows other mods to register custom syntax rules and highlighting patterns. This enables seamless integration when you're running multiple command-related mods together.

How Integration Works

Mods that support Better Highlighting's API can:

  • Define custom command syntax for their own commands
  • Register new argument types with specific color rules
  • Add grammar definitions that extend the base Minecraft command structure
  • Ensure their commands receive proper highlighting automatically

Checking Compatibility

If you're using mods that add custom commands (like admin tools or data packs), check their documentation to see if they support Better Highlighting integration. Compatible mods will automatically apply highlighting without additional configuration.

Reporting Issues

If a mod's custom commands aren't highlighted properly despite API support, verify both mods are up to date. Some mods may require specific versions of Better Highlighting to function correctly. Check mod documentation or community forums for compatibility notes.