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
assemblercomponent (2 methods). - Barcode
Reader - The
barcode_readercomponent (0 methods). - Beacon
- The
beaconcomponent (3 methods). - Brewing
Stand - The
brewing_standcomponent (1 methods). - Chunkloader
- The
chunkloadercomponent (2 methods). - Command
Block - The
command_blockcomponent (3 methods). - Comparator
- The
comparatorcomponent (1 methods). - Computer
- The
computercomponent (6 methods). - Crafting
- The
craftingcomponent (1 methods). - Data
- The
datacomponent (16 methods). - Database
- The
databasecomponent (7 methods). - Debug
- The
debugcomponent (15 methods). - Disk
Drive - The
disk_drivecomponent (3 methods). - Drive
- The
drivecomponent (9 methods). - Drone
- The
dronecomponent (33 methods). - Eeprom
- The
eepromcomponent (10 methods). - Energy
Device - The
energy_devicecomponent (4 methods). - Experience
- The
experiencecomponent (2 methods). - Filesystem
- The
filesystemcomponent (18 methods). - Fluid
Handler - The
fluid_handlercomponent (1 methods). - Fluid
Tank - The
fluid_tankcomponent (1 methods). - Furnace
- The
furnacecomponent (5 methods). - Generator
- The
generatorcomponent (3 methods). - Geolyzer
- The
geolyzercomponent (6 methods). - Gpu
- The
gpucomponent (30 methods). - Hologram
- The
hologramcomponent (16 methods). - Internet
- The
internetcomponent (4 methods). - Inventory
- The
inventorycomponent (8 methods). - Inventory
Controller - The
inventory_controllercomponent (24 methods). - Jukebox
- The
jukeboxcomponent (3 methods). - Keyboard
- The
keyboardcomponent (0 methods). - Leash
- The
leashcomponent (2 methods). - Microcontroller
- The
microcontrollercomponent (6 methods). - MobSpawner
- The
mob_spawnercomponent (1 methods). - Modem
- The
modemcomponent (12 methods). - Motion
Sensor - The
motion_sensorcomponent (2 methods). - Navigation
- The
navigationcomponent (4 methods). - NetSplitter
- The
net_splittercomponent (4 methods). - Note
Block - The
note_blockcomponent (3 methods). - Piston
- The
pistoncomponent (3 methods). - Printer3d
- The
printer3dcomponent (18 methods). - Redstone
- The
redstonecomponent (16 methods). - Relay
- The
relaycomponent (4 methods). - Robot
- The
robotcomponent (33 methods). - Screen
- The
screencomponent (9 methods). - Sign
- The
signcomponent (2 methods). - Tablet
- The
tabletcomponent (2 methods). - Tank
Controller - The
tank_controllercomponent (10 methods). - Tractor
Beam - The
tractor_beamcomponent (1 methods). - Trading
- The
tradingcomponent (1 methods). - Transposer
- The
transposercomponent (25 methods). - Tunnel
- The
tunnelcomponent (5 methods). - Waypoint
- The
waypointcomponent (2 methods).