alarm alarm : [ id: number ]
Defined in libraries/helpers/src/types.ts:108 char char : [ character: string ]
Defined in libraries/helpers/src/types.ts:112 computer_ command computer_command : string []
Defined in libraries/helpers/src/types.ts:116 disk Defined in libraries/helpers/src/types.ts:122 disk_ eject Defined in libraries/helpers/src/types.ts:126 file_ transfer Defined in libraries/helpers/src/types.ts:132 http_ check http_check : [ url: string , success: boolean , error?: string ]
Defined in libraries/helpers/src/types.ts:136 http_ failure http_failure : [ url: string , error: string , response?: HTTPResponse ]
Defined in libraries/helpers/src/types.ts:144 http_ success http_success : [ url: string , response: HTTPResponse ]
Defined in libraries/helpers/src/types.ts:152 key key : [ key: number , hold: boolean ]
Defined in libraries/helpers/src/types.ts:159 key_ up key_up : [ key: number ]
Defined in libraries/helpers/src/types.ts:166 modem_ message modem_message : [ side
: Side , channel
: number , replyChannel
: number , message
: unknown , distance
?: number , ] Defined in libraries/helpers/src/types.ts:170 monitor_ resize monitor_resize : [ side
: Side ] Defined in libraries/helpers/src/types.ts:180 monitor_ touch monitor_touch : [ side
: Side , x
: number , y
: number ] Defined in libraries/helpers/src/types.ts:186 mouse_ click mouse_click : [ button
: MouseButton , x
: number , y
: number ] Defined in libraries/helpers/src/types.ts:194 mouse_ drag mouse_drag : [ button
: MouseButton , x
: number , y
: number ] Defined in libraries/helpers/src/types.ts:202 mouse_ scroll mouse_scroll : [ direction: number , x: number , y: number ]
Defined in libraries/helpers/src/types.ts:210 mouse_ up Defined in libraries/helpers/src/types.ts:218 paste paste : [ text: string ]
Defined in libraries/helpers/src/types.ts:226 peripheral Defined in libraries/helpers/src/types.ts:230 peripheral_ detach peripheral_detach : [ side
: Side ] Defined in libraries/helpers/src/types.ts:236 rednet_ message rednet_message : [ id: number , message: unknown , protocol?: string ]
Defined in libraries/helpers/src/types.ts:242 redstone redstone : [ ]
Defined in libraries/helpers/src/types.ts:250 speaker_ audio_ empty speaker_audio_empty : [ side
: Side ] Defined in libraries/helpers/src/types.ts:254 task_ complete task_complete : [ id: number , success: boolean , error?: string , ... args: unknown [] , ]
Defined in libraries/helpers/src/types.ts:260 term_ resize term_resize : [ ]
Defined in libraries/helpers/src/types.ts:269 terminate terminate : [ ]
Defined in libraries/helpers/src/types.ts:273 timer timer : [ id: number ]
Defined in libraries/helpers/src/types.ts:277 turtle_ inventory turtle_inventory : [ ]
Defined in libraries/helpers/src/types.ts:281 websocket_ closed websocket_closed : [ url: string , reason?: string , code?: number ]
Defined in libraries/helpers/src/types.ts:285 websocket_ failure websocket_failure : [ url: string , error: string ]
Defined in libraries/helpers/src/types.ts:293 websocket_ message websocket_message : [ url: string , message: string , binary: boolean ]
Defined in libraries/helpers/src/types.ts:300 websocket_ success websocket_success : [ url: string , response: WebSocket ]
Defined in libraries/helpers/src/types.ts:308
Comprehensive mapping of all ComputerCraft events and their parameter types
This interface provides type definitions for all built-in ComputerCraft events, enabling type-safe event handling in TypeScript. Each event is documented with its parameters and links to official ComputerCraft documentation.
Example: Using with os.pullEvent
Example: Type-safe event handling