Repository navigation
Datapacks
Lycoris edited this page Nov 10, 2026
·
1 revision
Loconautics reads several folders from datapacks. You can change how boilers, hoses and the block picker behave without editing the mod, and other mods can add their own blocks to them.
| Page | What it controls |
|---|---|
| Variant Families | The scroll menu that switches a held block between colors or styles |
| Boiler Blocks | How much heat, steam power and water a block adds to a boiler |
| Hose Spray | What each fluid does when sprayed from the hose nozzle, and its color |
| Tags | Which blocks count as firebox, boiler body, smokestack, hatch or bogey, and the bogey mass |
| Troubleshooting | Log lines and common mistakes |
- Files go in
data/<namespace>/<folder>/inside a datapack. - Use
/reloadin game to load changes. Variant families and hose colors are sent to every player again after a reload. - Files from different packs add together. They do not replace each other.
- A bad file is logged and skipped. The rest still loads.
- Blocks from optional mods are safe to list in tags. Write them as
{ "id": "othermod:block", "required": false }and they are ignored when that mod is missing.
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