@kairo-js/router
Inter-addon communication framework for Minecraft Bedrock Edition. Use the router object and KairoApiRegistry to enable API calls, hooks, and custom events across multiple behavior packs.
Available Versions
0.3.0-beta.0
Classes
- AddonActivateAfterEvent
- AddonDeactivateBeforeEvent
- AddonEventRegistry
- KairoAfterEvents
- KairoApiRegistry
- KairoBeforeEvents
- KairoContext
- KairoCustomCommandRegistry
- KairoRouter
- KairoStartupBeforeEvent
Interfaces
Types
Errors
- AfterHookExecutionError
- ApiNotFoundError
- BeforeHookExecutionError
- HandlerExecutionError
- ProtocolError
- RequestTimeoutError
Objects
router
static readonly router: KairoRouter
Main class managing addon lifecycle, API communication, and events. This is the primary entry point of the kairo-router package.
Type: KairoRouter