Skip to main content

Module components

Module components 

Source
Expand description

Typed wrappers for every OpenComputers component.

One struct per component type, one method per callback. The docs on each method are OpenComputers’ own, followed by the Lua signature. Find components with Component::first or Component::all. With the async feature, each method also has an _async twin that doesn’t block (see crate::task).

Structs§

Assembler
The assembler component (2 methods).
BarcodeReader
The barcode_reader component (0 methods).
Beacon
The beacon component (3 methods).
BrewingStand
The brewing_stand component (1 methods).
Chunkloader
The chunkloader component (2 methods).
CommandBlock
The command_block component (3 methods).
Comparator
The comparator component (1 methods).
Computer
The computer component (6 methods).
Crafting
The crafting component (1 methods).
Data
The data component (16 methods).
Database
The database component (7 methods).
Debug
The debug component (15 methods).
DiskDrive
The disk_drive component (3 methods).
Drive
The drive component (9 methods).
Drone
The drone component (33 methods).
Eeprom
The eeprom component (10 methods).
EnergyDevice
The energy_device component (4 methods).
Experience
The experience component (2 methods).
Filesystem
The filesystem component (18 methods).
FluidHandler
The fluid_handler component (1 methods).
FluidTank
The fluid_tank component (1 methods).
Furnace
The furnace component (5 methods).
Generator
The generator component (3 methods).
Geolyzer
The geolyzer component (6 methods).
Gpu
The gpu component (30 methods).
Hologram
The hologram component (16 methods).
Internet
The internet component (4 methods).
Inventory
The inventory component (8 methods).
InventoryController
The inventory_controller component (24 methods).
Jukebox
The jukebox component (3 methods).
Keyboard
The keyboard component (0 methods).
Leash
The leash component (2 methods).
Microcontroller
The microcontroller component (6 methods).
MobSpawner
The mob_spawner component (1 methods).
Modem
The modem component (12 methods).
MotionSensor
The motion_sensor component (2 methods).
Navigation
The navigation component (4 methods).
NetSplitter
The net_splitter component (4 methods).
NoteBlock
The note_block component (3 methods).
Piston
The piston component (3 methods).
Printer3d
The printer3d component (18 methods).
Redstone
The redstone component (16 methods).
Relay
The relay component (4 methods).
Robot
The robot component (33 methods).
Screen
The screen component (9 methods).
Sign
The sign component (2 methods).
Tablet
The tablet component (2 methods).
TankController
The tank_controller component (10 methods).
TractorBeam
The tractor_beam component (1 methods).
Trading
The trading component (1 methods).
Transposer
The transposer component (25 methods).
Tunnel
The tunnel component (5 methods).
Waypoint
The waypoint component (2 methods).