Command Computer

From ComputerCraft Wiki
Revision as of 12:00, 16 February 2015 by Bomb Bloke (Talk | contribs)

Jump to: navigation, search
Grid workbench.png   Command Computer
Command Computer.png
Item ID ComputerCraft:command_computer
Damage Value The ID of the Computer.
Peripheral? Yes

Introduced by ComputerCraft 1.7 (and therefore requiring MineCraft 1.7.10 or later), the Command Computer is a more powerful version of the Advanced Computer, having direct access to MineCraft commands. They are therefore uncraftable, only available to op-status players via the creative inventory, and can only be directly interacted with by the same such players. For example, unlike other computers, they will not boot from an external Disk Drive.

Much of their functionality can be reproduced by wrapping a command block for peripheral usage (an option introduced by ComputerCraft 1.48). However, Command Computers have the unique ability to query block IDs and metadata from any generated area within their dimension, and can furthermore read boolean return values from commands without having to check redstone states.

Exclusive Functions

Exclusive Programs

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.
Grid Redstone.pngComputerCraft Blocks and Items
Grid paper.png  Blocks
 Iso Computer.png  Computer Iso Advanced Computer.png  Advanced Computer Iso Command Computer.png  Command Computer Iso DiskDrive.png  Disk Drive
 Iso Monitor.png  Monitor Iso Advanced Monitor.png  Advanced Monitor Iso Printer.png  Printer Grid turtle.png  Turtle
 Grid Modem.png  Wireless Modem Grid Ender Modem.png  Ender Modem Grid Wired Modem.png  Wired Modem Grid Networking Cable.png  Networking Cable
Grid paper.png  Items
 Grid Pocket Computer.png  Pocket Computer Grid Advanced Pocket Computer.png  Advanced Pocket Computer Grid disk.png  Floppy Disk Grid printed page.png  Printed Page
 Grid printed pages.png  Printed Pages Grid printed book .png  Printed Book