Advertisement
Rolcam

Computercraft - Open Peripherals - Commands

Jan 9th, 2024 (edited)
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. For Open Peripherals, the "color" field uses hexadecimal values for the color. You cannot use computercraft's color API for this (e.g. colors.red won't work)
  2.  
  3. getUsers()
  4. addGradientBox(x, y, width, height, color, opacity, color, opacity, gradient)
  5. addBox(x,y,width, height, color, opacity)
  6. clear()
  7. getAdvancedMethodsData()
  8. getStringWidth(text)
  9. listMethods()
  10. addIcon(x,y,id, meta)
  11. addText(x,y,text,color)
  12. getAllObjects()
  13. getUserSurface(username)
  14. addLiquid(x,y,width,height,string)
  15. getAllIds()
  16. getGuid()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement