Package baritone.api.event.listener
Interface IEventBus
- All Superinterfaces:
IGameEventListener
A type of
IGameEventListener that can have additional listeners
registered so that they receive the events that are dispatched to this
listener.- Since:
- 11/14/2018
- Author:
- Brady
-
Method Summary
Modifier and TypeMethodDescriptionvoidregisterEventListener(IGameEventListener listener) Registers the specifiedIGameEventListenerto this event busMethods inherited from interface baritone.api.event.listener.IGameEventListener
onBlockChange, onBlockInteract, onChunkEvent, onPathEvent, onPlayerDeath, onPlayerRotationMove, onPlayerSprintState, onPlayerUpdate, onPostTick, onPreTabComplete, onReceivePacket, onRenderPass, onSendChatMessage, onSendPacket, onTick, onWorldEvent
-
Method Details
-
registerEventListener
Registers the specifiedIGameEventListenerto this event bus- Parameters:
listener- The listener
-