public interface IEventBus extends IGameEventListener
IGameEventListener
that can have additional listeners
registered so that they receive the events that are dispatched to this
listener.Modifier and Type | Method and Description |
---|---|
void |
registerEventListener(IGameEventListener listener)
Registers the specified
IGameEventListener to this event bus |
onBlockInteract, onChunkEvent, onPathEvent, onPlayerDeath, onPlayerRotationMove, onPlayerSprintState, onPlayerUpdate, onPreTabComplete, onReceivePacket, onRenderPass, onSendChatMessage, onSendPacket, onTick, onWorldEvent
void registerEventListener(IGameEventListener listener)
IGameEventListener
to this event buslistener
- The listener