wiki:computronics:lamp_block
Table of Contents
Lamp Block
API
ComputerCraft/OpenComputers
Command | Description | Usage |
---|---|---|
getLampColour() | Gets the lamp's RGB colour. | Returns 0x000000-0xFFFFFF. |
getLampType() | Gets the lamp's type. | Returns “Normal”, “Decorative” or “Indicator”. |
isLampPowered() | Checks if the lamp is being powered. | Returns a boolean. |
wiki/computronics/lamp_block.txt · Last modified: 2015/06/25 15:59 by 127.0.0.1