Computer | |
---|---|
Mod | ComputerCraft |
Type | Solid block |
Properties | |
TC4 Aspects | 10 |
The Computer is the main block of ComputerCraft. It can be placed in the world and then programmed to display messages on its screen, toggle redstone signals, and connect to Peripherals. It runs an operating system known as CraftOS and comes pre-loaded with a number of useful programs.
Recipe[]
FTB Infinity Evolved[]
- Main article: FTB Infinity Evolved
Usage[]
Place the Computer in the world then 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. |
The player must hold the keyboard shortcuts down for at least 1 second.
Peripheral Functions[]
computer
stands for the variable the computer is wrapped to. For 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. |
Technical details[]
ID[]
Name | Namespaced ID | Translation key |
---|---|---|
Computer | computercraft:computer | tile.computercraft:computer.name |
Blockstates[]
Name | Default value | Allowed values | Description |
---|---|---|---|
advanced | false true |
Whether the computer is advanced or not | |
facing | north south east west |
The direction the observer is observing. The same direction the player faces when placing the block. | |
state | on off blinking |
Whether the computer is on, off or blinking |
References[]
|