Computer

From Technic Wiki
Jump to: navigation, search
Computer
Computer.png
Computer
Type

Solid Block

Requirements

?

Mod

ComputerCraft

Physics

No

Luminance

No

Tool

None

The Computer is the main block of ComputerCraft. From the Computer, you will be able to make programs, turn on and off Redstone, use Rednet and interface with bundled cables from RedPower, play games, and much more. The Computer runs an OS called CraftOS.

Recipe

Stone
Stone
Stone
Stone
Redstone
Glass_Pane
Stone
Stone
Stone
Computer


Keyboard Shortcuts

Shortcut Usage

CTRL + T

Terminates the current program.

CTRL + R

Reboots the console.

CTRL + S

Forcefully shuts down the computer.

NOTE: You have to hold the keyboard shortcuts down for at least 1 second!

Tutorials

This tutorial explains the general use of computers and computercraft as a whole, in under 60 seconds!

Peripheral Functions

computer stands for the variable you wrapped the computer to. Example: computer = peripheral.wrap( "top" )

Method name Description
computer.turnOn() Turns on the Computer or Turtle.
computer.shutdown() Shuts off the Computer or Turtle.
computer.reboot() Reboots the Computer or Turtle.
computer.getID() Gets the ID of the Computer or Turtle.