Skip to content

Programmable Computer

The Programmable Computer blockProgrammable Computer: stoppedProgrammable Computer: failedProgrammable Computer: drive inserted
Programmable Computer: normal, stopped, failed, drive inserted. Asset render of the block model, not an in-game screenshot.

The computer is the brain of a FilaSignal network. It runs the program you write in its editor, and every device you link to it becomes part of its network. It also has a slot for writing programs onto data drives.

Programmable Computer

Shaped crafting table recipe. Progression: early automation. Ingredients: 6 × Iron Ingot, 1 × Glass Pane, 1 × Redstone, 1 × Copper Ingot. It appears in the recipe book once you pick up one of its ingredients.

Place it on any surface; it faces you. Link it to a relay, such as a Network Repeater, with the Linking Tool, then link devices to the relay. A computer accepts up to 16 links, each to a relay. You own the computer you place, and its network follows your access list.

The computer model with a green running screen, a keyboard and a desktop case.
A Programmable Computer running its program. In-game screenshot from FilaSignal's automated client test.

Right-click with an empty hand to open the dashboard:

  • the program’s state, the devices of the network with offline devices and failed programs listed first, and the drive slot;
  • Open Editor to write the program (see the editor);
  • Save name to name the computer;
  • with a drive inserted: Edit drive, Type, Save label and Eject;
  • Device name with ▶ and Edit remote to edit the drive program of a device on the network.

The screen on the block shows the program state: green text while running, dark when stopped, red when the program could not start or a handler stopped on an error. A drive in the slot is visible on the case.

The computer runs one program, which can use every device of its network and every part of the Minecraft API. The program and its globals are saved in the computer block and survive restarts. A new computer starts with a small program that prints a greeting.

const gate = detectors.named("gate")
on startup {
print("Computer ready")
}
on gate.entityEnter(entity) {
print("Someone arrived: " + entity.name)
}
  • Program source: 16,384 characters. Saved globals: 256 KiB.
  • Each event handler may do 10,000 operations and print 8 lines.
  • The program runs only while the computer’s area is loaded.

Breaking the computer deletes its program and globals and releases its devices from the network. A drive in its slot drops as an item. Only the owner or an operator can break it.