Brass, the language of Computing Ages
Every function a computer can call, explained in plain words with real programs: from blinking a lamp to flying an airship.
The mod behind these docs
Create: Computing Ages is an addon for Create, the mod of gears and machines, on Minecraft 1.21.1. It retraces the history of computing in seven ages, from Pascal's calculator to the multi-core processor: you build precision machines on Create production lines, and each age unlocks a new computer, from a Tube Computer that prints on paper to a Modern Computer with an SSD and Wi-Fi.
Every computer runs Brass, the mod's own programming language, close to Lua. A program reads and drives the world around it: redstone, Create machines, chests and tanks, monitors, other computers over cables, radio or Wi-Fi, and even airships with Create Aeronautics. This site is the manual of that language: every function, every block a computer can drive, and real programs to try in your world.
IMechanical1642
IIElectromechanical1890
IIIVacuum Tube1904
IVTransistor1947
VIntegrated Circuit1958
VIMicroprocessor1971
VIIDigital1995
Where to start
Your first programFrom an empty hand to a lamp that blinks by itself: get a computer, turn it, write and run your first Brass programs.
Values and variablesComments, numbers, text, true and false, nil, variables, and the operators that combine them.
EventsHow a program waits for the world: the event queue, os.pull_event, timers, and the main loop that reacts to buttons, keys and messages at once.
Touch control panelA wall of monitors with one button per machine: a press switches a Redstone Link frequency, and the states come back after a reboot.Libraries
Everything a program can call, grouped like in the game. The badge tells which computers have it.
Global functionsprint, read, sleep, conversions, loops, errors and imports: the functions every program calls without a library name.All
mathNumbers: rounding, roots, trigonometry, logarithms and chance.All
stringText: cut, search, change case, format numbers, split and trim. Every text also has these as methods: s:upper().All
tableLists and tables: add, remove, sort, join, copy and search.All
osThe computer itself: time, events, timers, name, memory, reboot.All
termThe text screen: cursor, colours, clearing and scrolling.All
gfxPixel drawing under the text of the screen: shapes, text, sprites and scrolling.Mainframe+
fsFiles and folders of the storage medium: save data, keep logs, organise programs.All
rsRedstone on the six faces of the computer: read inputs, drive outputs.All
linkCreate Redstone Link frequencies, without placing a link block.All
displayLines for a Create Display Link pointed at the computer: display boards, nixie tubes, signs.All
peripheralFind and drive the blocks around the computer and on its data cable.All
netMessages between computers, by cable, radio or Wi-Fi.Mini+
vehicleWhere the Create Aeronautics vehicle carrying the computer is, how fast it goes, its heading and how much it leans.PC+
soundNotes and the sounds of the game, played by a Speaker touching the computer, or by the speaker of a smartphone.SpeakerSeven ages, six computers and a smartphone
Every age brings a faster computer. Speed is reached at 256 RPM: like any Create machine, a computer runs on rotation.

- Speed
- 4,000 instructions/s
- RAM
- 2 K cells
- Screen
- paper teletype, 40 × 14
- Storage
- punch card deck, 4 KB
- Network
- none

- Speed
- 16,000 instructions/s
- RAM
- 8 K cells
- Screen
- green phosphor, 51 × 19
- Storage
- magnetic tape, 16 KB
- Network
- none

- Speed
- 60,000 instructions/s
- RAM
- 32 K cells
- Screen
- amber phosphor, 51 × 19
- Storage
- floppy disk, 64 KB
- Network
- cable

- Speed
- 240,000 instructions/s
- RAM
- 128 K cells
- Screen
- 16 colours, 51 × 19
- Storage
- floppy disk, 64 KB
- Network
- cable, radio, Wi-Fi

- Speed
- 80,000 instructions/s
- RAM
- 16 K cells
- Screen
- 16 colours, 40 × 12
- Storage
- soldered memory, 16 KB
- Network
- cable, radio, Wi-Fi

- Speed
- 1,000,000 instructions/s
- RAM
- 1 M cells
- Screen
- 16 colours, 64 × 24
- Storage
- SSD, 1 MB
- Network
- cable, radio, Wi-Fi

- Speed
- 125,000 instructions/s
- RAM
- 1 M cells
- Screen
- 16 colours, 64 × 24
- Storage
- built-in flash, 1 MB
- Network
- radio, Wi-Fi
Blocks a computer can drive
Every device
Traffic Light
Inductive Loop Detector
Monitors
Radio Modem and Wi-Fi Router
Redstone Link
Create kinetic blocks
Inventories
Tanks
Create Aeronautics sensors
Relay
Jacquard Card Reader
Precision machines
Create machines
Display Link and nixie tubes
Trains
Create logistics
Propellers
Cannon mounts
Note Block
Energy blocks
Create Crafts & Additions
Create: Connected blocks
Cannon blocks
Enchantment Industry
Create Aeronautics blocks
Diesel Generators
Create: New Age
Storage networks (AE2, Refined Storage)
CameraReal projects, explained line by line
Stock alarm and display boardWatch a Create vault, show the stock on a monitor and a Display Board, and light a lamp and ring a bell when an item runs low.
Automatic item sorterEmpty an input chest into storage chests on a Data Cable, by item, by mod or by the end of the id, with an overflow chest and a status screen.
Overstress guardRead the stress and capacity of a Create network, slow a Rotation Speed Controller down before the network overstresses, sound an alarm and draw a stress bar and its history.
Door with a codeA keypad on the terminal that opens a Create door for a few seconds, locks itself after wrong codes, keeps the code in a file and logs every attempt.
Touch control panelA wall of monitors with one button per machine: a press switches a Redstone Link frequency, and the states come back after a reboot.
Smart intersectionTwo Traffic Lights and two Inductive Loop Detectors run by a state machine that serves the waiting road, with a minimum green, amber and red-amber phases, and flashing amber at night.
Factory dashboardA wall of LCD Monitors that shows your stock as bar charts and the stress of the kinetic network, refreshed on a timer.
Remote control over the networkStart, stop and watch a production line from another computer, with numbered orders, answers, timeouts, retries and a shared secret.
Data logger and graphRecord a value every minute in a CSV file that never grows too big, and draw the last hour as a line graph with axes.
Airship altitude holdAn autopilot for a Create Aeronautics balloon ship that holds the height you choose and keeps the ship level, explained step by step.
Day and night lightingTurn the lamps of several zones on at dusk and off at dawn through Redstone Link frequencies, with a manual override button and a status screen showing the time.
A snake gameA complete Snake with gfx: a grid, a snake made of a list of squares, arrow keys and WASD or ZQSD, a timer for the speed, random apples, a best score saved on the disk and a game over screen.
A project in several filesSplit a larger program into a main file and libraries with import, read a settings file with defaults, keep a log, and update the program on many computers by floppy disk or over the network.