ComputerCraft Interface

From WebDisplays
Revision as of 22:32, 24 July 2019 by Montoyo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.