Computer

From Feed The Beast Wiki
Jump to: navigation, search
Computer

ModComputerCraft
TypeSolid 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[edit | edit source]

FTB Infinity Evolved[edit | edit source]

Main article: FTB Infinity Evolved

Usage[edit | edit source]

Place the Computer in the world then right-click it to use.

Keyboard Shortcuts[edit | edit source]

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[edit | edit source]

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[edit | edit source]

ID[edit | edit source]

NameNamespaced IDTranslation key

Computer
computercraft:computertile.computercraft:computer.name

Blockstates[edit | edit source]

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[edit | edit source]