ComputerCraft Interface

From WebDisplays
Jump to: navigation, search

The ComputerCraft Interface is a peripheral which can be used by ComputerCraft computers to interact with screens through Lua.

Recipe

Ccinterface.png

The item on the left is a Peripheral Base, used to craft all peripherals.

How to use

First, place the block next to a ComputerCraft computer and link it to a screen using the Linking Tool. Then, all you have to do is to call peripheral.wrap with the corresponding side. So, if you placed the interface on the right of the computer:

1 wdScreen = peripheral.wrap("left")

Permissions

This interface will have the same restrictions and permissions as the player who placed the block.

Functions

Functions are the same as the OpenComputers Interface ones.