Difference between revisions of "Computer"

From ComputerCraft Wiki
Jump to: navigation, search
(Keyboard Shortcuts)
m (Recipe)
 
(26 intermediate revisions by 10 users not shown)
Line 1: Line 1:
The console is the main block of ComputerCraft. This is the computer, which is the centerpiece of this mod. From this block you will be able to use the Rednet, make programs, turn on and off redstone (And bundled cables from RedPower!), play games and much more. The console runs an OS called [[CraftOS]].
+
{{Block
 +
|name=Computer
 +
|image=Iso_Computer.png
 +
|id=ComputerCraft:CC-Computer
 +
|damage-value=0
 +
|is-peripheral=Yes
 +
|peripheral-api=Computer (API)
 +
}}
 +
The Computer (pictured) is the main block of ComputerCraft. From the Computer, you will be able to make programs, [[redstone_(API)|turn on and off Redstone]], [[rednet_(API)|use Rednet]], [[:Category:Games|play games]], and much more. The Computer runs an OS called [[CraftOS]]. Computers, [[Advanced Computer]]s and [[Command Computer]]s have a [[resolution]] of 51 pixels/characters horizontally by 19 pixels/characters vertically.
  
 
[[Category:Blocks]]
 
[[Category:Blocks]]
 
[[Category:Consoles]]
 
[[Category:Consoles]]
== Recipe ==
+
== Crafting ==
{{Crafting grid
+
{{Crafting
  |A1=stone |B1=stone           |C1=stone
+
  |A1=stone |B1=stone     |C1=stone
  |A2=stone |B2=redstone_dust   |C2=stone
+
  |A2=stone |B2=Redstone   |C2=stone
  |A3=stone |B3=glass_pane      |C3=stone
+
  |A3=stone |B3=glass pane |C3=stone
  |Output=console
+
  |Output=Computer
 
  }}
 
  }}
 +
 
== Usage ==
 
== Usage ==
Place the console wherever you please, and just right click it to use.
+
[[File:Computer_w_DiskDrive_w_Monitor.png|frame|428x241px|right|A 2x2 [[Monitor]], connected to a [[Computer]], with a [[Disk Drive]] connected.]]
[[File:Computer-in-game.png|frame|right|The Computer in-game]]
+
Place the Computer wherever you please, and just right click it to use.
  
 
== Keyboard Shortcuts ==
 
== Keyboard Shortcuts ==
Line 19: Line 28:
 
!style="background:#EEE" width="*"|Usage
 
!style="background:#EEE" width="*"|Usage
 
|-
 
|-
|CTRL + T
+
|{{Keypress|key=CTRL}} + {{Keypress|key=T}}
|closes the program to protect it from jesse's fart that would otherwise destroy the Whole entire Earth
+
|[[terminate_(event)|Terminates]] the current program.
 
|-
 
|-
|CTRL + R
+
|{{Keypress|key=CTRL}} + {{Keypress|key=R}}
 
|Reboots the console.
 
|Reboots the console.
 
|-
 
|-
|CTRL + S
+
|{{Keypress|key=CTRL}} + {{Keypress|key=S}}
 
|Forcefully shuts down the computer.
 
|Forcefully shuts down the computer.
|-
 
|CTRL + Q
 
|Plays a secret. P.S the secret is that Jesse Paxton is Smellier than everyone else farting in the world.
 
 
|}
 
|}
NOTE: You have to hold the keyboard shortcuts down for at least 1 second!
+
'''Note:''' You have to hold the keyboard shortcuts down for at least 1 second!
 +
 
 +
== Peripheral Functions ==
 +
[[Computer]] and [[Turtle]] specific peripheral functions can be found [[Computer_(API)|here]]
 +
 
 +
== History ==
 +
{{History|head}}
 +
{{History|1.0|Added Computers.}}
 +
{{History|1.1|Terminal size can be changed in config.}}
 +
{{History|1.2|Added <code>ctrl + r</code> shortcut for reboot.|Added <code>ctrl + t</code> shortcut for terminate.}}
 +
{{History|1.21|Added <code>ctrl + s</code> shortcut for shutdown.}}
 +
{{History|1.3|No longer get destroyed by water.|Can be labelled, destroyed and moved around, keeping their state.|Can connect to adjacent devices and turn them on or off.}}
 +
{{History|1.4|Labelled Computers can now be crafted into Turtles or other Turtle types without losing their ID, label and data.|The default size of the Computer screen has been increased.|They no longer crash when used with RedPower frames.}}
 +
{{History|1.41|Fixed labelled Computers not keeping their data when destroyed.}}
 +
{{History|1.45|Added ability to change the background and text colour (black and white only).}}
 +
{{History|1.48|They can now control Command Blocks, if enabled in the config.}}
 +
{{History|1.51|They no longer drop in creative mode, until it is labeled.}}
 +
{{History|1.6|Can be labelled using Name Tags and Anvils.}}
 +
{{History|1.74|Added support for grey and lightGrey.}}
 +
{{History|1.77 / 1.78|Can be mounted in [[Disk Drive]]s.}}
 +
{{History|foot}}
 +
 
 +
{{BlocksItemsList}}

Latest revision as of 06:11, 4 August 2020

Grid workbench.png   Computer
Iso Computer.png
Item ID ComputerCraft:CC-Computer
Damage Value 0
Peripheral? Yes- Computer (API)

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, play games, and much more. The Computer runs an OS called CraftOS. Computers, Advanced Computers and Command Computers have a resolution of 51 pixels/characters horizontally by 19 pixels/characters vertically.

Crafting

Empty-crafting-table.png
Grid stone.png
Grid stone.png
Grid stone.png
Grid stone.png
Grid Redstone.png
Grid stone.png
Grid Computer.png
Grid stone.png
Grid glass pane.png
Grid stone.png

Usage

A 2x2 Monitor, connected to a Computer, with a Disk Drive connected.

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 and Turtle specific peripheral functions can be found here

History

1.0Added Computers.
1.1Terminal size can be changed in config.
1.2Added ctrl + r shortcut for reboot.
Added ctrl + t shortcut for terminate.
1.21Added ctrl + s shortcut for shutdown.
1.3No longer get destroyed by water.
Can be labelled, destroyed and moved around, keeping their state.
Can connect to adjacent devices and turn them on or off.
1.4Labelled Computers can now be crafted into Turtles or other Turtle types without losing their ID, label and data.
The default size of the Computer screen has been increased.
They no longer crash when used with RedPower frames.
1.41Fixed labelled Computers not keeping their data when destroyed.
1.45Added ability to change the background and text colour (black and white only).
1.48They can now control Command Blocks, if enabled in the config.
1.51They no longer drop in creative mode, until it is labeled.
1.6Can be labelled using Name Tags and Anvils.
1.74Added support for grey and lightGrey.
1.77 / 1.78Can be mounted in Disk Drives.
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