User Tools

Site Tools


wiki:computronics:lamp_block

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:computronics:lamp_block [2015/06/25 11:59] (current)
Line 1: Line 1:
 +====== 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 11:59 (external edit)