What is ChatTriggers and how does it work?
masterChatTriggers is a Minecraft framework for live scripting and client modification using JavaScript. It provides libraries, wrappers, and objects to simplify modding.
Key technical details:
- Engine: Built on Rhino using Java 8.
- Compatibility: Supports most Rhino methods and some ES6 features.
- Core Concept: Everything is based around Triggers, which act as event listeners. Triggers can respond to various Minecraft events, such as chat messages or rendering overlays.
- Advanced Access: While wrappers are provided, you can still access exposed Minecraft methods and variables directly if you have knowledge of FML mappings.