Events
Events are the hook points your bundle can react to. Each event type is a global bus that fires at a specific moment; you subscribe with a closure and read or change the data in the event object.
- BundleEvents: registration-time events and bundle lifecycle.
- PlayerEvents: player actions such as joining, ticking, and breaking blocks.
- BlockEvents: block-level events.
- EntityEvents: entity lifecycle and combat events.
- GameEvents: game session lifecycle events.
- ItemEvents: item interaction events.
- LevelEvents: level lifecycle and world events.
- StageEvents: stage adding and removing.
- CommandEvents: register commands.
- SlotEvents: container slot events.
- NetworkEvents: custom network data events.
- RecipeEvents: recipe sync and modification events.