mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-08 06:41:23 -04:00
Updated API Colors (markdown)
parent
2993a7287f
commit
e30a6975e3
@ -17,4 +17,10 @@ This "API" serves a global table that allows you to refer to colors by their nam
|
||||
- Red (`red`), Number: 14
|
||||
- Black (`black`), Number: 15
|
||||
|
||||
Note that the indexing starts at zero, not one.
|
||||
Note that the indexing starts at zero, not one.
|
||||
|
||||
Useful for setting or getting bundled redstone output or input, for example:
|
||||
```lua
|
||||
local rs = component.redstone
|
||||
rs.setBundledOutput(sides.back, colors.green, rs.getBundledInput(sides.front, colors.blue))
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user