Wiki 9Minecraft Wiki 9Minecraft

How to Build, Power, and Program Your First Computer

Unlike single-block machines, computers in OpenComputers are modular systems that you assemble from individual hardware parts and program using the Lua language.

Choosing Your Hardware Components

Start with lower-tier parts in survival mode and upgrade to faster, more powerful tiers as you gather more resources:

1. Craft a computer case and a screen of the tier that matches your current resources.

2. Gather internal expansion parts depending on what your build needs, including a graphics card to drive the display, a network card for communication, or a redstone card for signal control.

3. Place the computer case and screen together in the world and install your chosen cards.

4. Connect a power source to the setup. OpenComputers accepts energy directly from common modded power systems such as RF and EU.

Writing Persistent Lua Programs

Once the system boots and displays its terminal on the screen, you can write and run scripts in the Lua programming language to automate tasks or display data. Every computer in OpenComputers is persistent: if you close your singleplayer world or restart a server, the computer saves its exact execution state and resumes running its Lua program right where it left off as soon as the world reloads.

Optional Output Peripherals

Beyond standard screens, you can connect hologram projectors to render 3D images in the air or attach 3D printers to turn computer designs into custom decorative blocks for your base.