Difference between revisions of "Computer"
From ComputerCraft Wiki
Digipenguin (Talk | contribs) (→Peripheral Functions) |
m (Implement {{BlocksItemsList}}) |
||
Line 57: | Line 57: | ||
|Gets the ID of the Computer or Turtle. | |Gets the ID of the Computer or Turtle. | ||
|} | |} | ||
+ | |||
+ | |||
+ | {{BlocksItemsList}} |
Revision as of 19:22, 24 May 2013
The Computer (pictured) 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
Usage
Place the Computer wherever you please, and just right click it to use.
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!
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. |
ComputerCraft Blocks and Items | |||
Blocks | |||
Computer | Advanced Computer | Command Computer | Disk Drive |
Monitor | Advanced Monitor | Printer | Turtle |
Wireless Modem | Ender Modem | Wired Modem | Networking Cable |
Items | |||
Pocket Computer | Advanced Pocket Computer | Floppy Disk | Printed Page |
Printed Pages | Printed Book |