-
Notifications
You must be signed in to change notification settings - Fork 192
Component API
Igor Timofeev edited this page Jan 23, 2019
·
7 revisions
This library is provided as default global variable by OpenComputers and allows to interact with computer components. In addition to it, MineOS adds some useful methods.
| Contents |
|---|
| component.isAvailable |
| component.get |
Checks if any component with given name is available in computer environment:
component.isAvailable("gpu")> trueReturns proxy of first available component with given name on success, nil otherwise.
component.get("gpu")> table