Skip to content
Lycoris edited this page Nov 10, 2026 · 2 revisions

Loconautics CC API

Loconautics exposes each train to ComputerCraft. A computer inside a cart can read the physics state, drive the train, wait for station and signal events, and write a schedule from Lua.

The API lives on the Bearing Axle block. One axle means one train, so a consist with one locomotive has one handle, however many carriages are coupled behind it.

Contents

Start here

Reading the train

Driving the train

Schedules

Doors and body

Links

The whole railway

Reacting to changes

Programs and reference

Other guides

Clone this wiki locally