Repository navigation
Home
Lycoris edited this page Nov 10, 2026
·
2 revisions
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.
Start here
Reading the train
- Identity
- Motion
- State
- Station
- Signals
- Track ahead
- Orientation
- World position
- Carriages
- Consist wide cargo
Driving the train
Schedules
Doors and body
Links
The whole railway
Reacting to changes
Programs and reference
Other guides
Start here
Reading the train
- Identity
- Motion
- State
- Station
- Signals
- Track ahead
- Orientation
- World position
- Carriages
- Consist wide cargo
Driving the train
Schedules
Doors and body
Links
The whole railway
Reacting to changes
Programs and reference
Start here
Controlling the plate
Automatic modes
Reading the turntable
Reference