RailOptimization

RailOptimization

A simple mod that makes powered/activator rails turn on/off up to 12x faster.

by
541.0K Downloads
fabricforgeneoforgequiltgame-mechanicsoptimizationutility
Rent Server with this Mod

Screenshots

RailOptimization Screenshot 1

About this Mod

Description

RailOptimization is a lightweight mod that makes powered rails and activator rails turn on and off up to 12x faster in complex rail networks.

The best result is that you notice nothing while it is operating, except smoother and faster rail updates. Vanilla behavior and the default power range are preserved unless you explicitly change the range.

Performance

Benchmark scenario (use v2.0) Fabric (up to) NeoForge (up to)
Straight rail state changes 9.38x 16.69x
Mixed-slope state changes 12.09x 22.93x
Repeated unchanged-state updates (indirect power) 48.69x 38.30x

Measured in local multi-round benchmarks at the default power range of 8 with updating length 17, comparing optimized and unoptimized rail updates on the same mod loader. Actual gains vary with rail layout, server load, hardware, power range, and other installed mods.

State-change results include both turning rails on and turning them off. The unchanged-state result measures repeated updates without a power-state change; it is not an on/off speedup or a whole-server speedup.

Features

  • Fast updates across straight, ascending, descending, and mixed-slope rail networks.
  • Greatly reduced cost for repeated updates that leave rail state unchanged.
  • Optional power range from 1 to 64, with vanilla's default of 8 unchanged.
  • Switch between vanilla and optimized update logic without restarting.
  • Native builds for Fabric, Forge, and NeoForge, with no Architectury API dependency.

Install it with the default settings and it works without additional configuration.

Commands

Command Purpose
/railoptimization Show the current state and power limit
/railoptimization on Enable the optimized update path
/railoptimization off Use vanilla update logic
/railoptimization powerLimit <value> Set the rail power range from 1 to 64
/railoptimization reload Reload the configuration file

Changing settings requires administrator permission. Settings are saved automatically in railoptimization.json and persist across restarts.

Compatibility

  • Choose the file for your Minecraft version and mod loader.
  • RailOptimization v1.2 and earlier are incompatible with Carpet TIS Addition. RailOptimization v1.3 and later are compatible.
  • To compare a contraption with vanilla, use /railoptimization off and trigger it again. If you find a behavioral difference, please report it with a minimal reproduction.

Acknowledgements

RailOptimization began as a fork of FxMorin's RailOptimization. My sincere thanks go to FxMorin and the original contributors for their work. The current implementation has since been extensively rewritten, but this project would not exist without their original work.

More Information

For source code, issue reports, or any other questions, please visit the RailOptimization GitHub repository.

Available Versions

RailOptimization 2.0release
MC 26.1, 26.1.1, 26.1.2, 26.2, 26.3neoforge
September 18, 2026
RailOptimization 2.0release
MC 26.1, 26.1.1, 26.1.2, 26.2, 26.3fabric, quilt
September 18, 2026
RailOptimization 2.0release
MC 1.21.11neoforge
September 18, 2026
RailOptimization 2.0release
MC 1.21.11fabric, quilt
September 18, 2026
RailOptimization 2.0release
MC 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10neoforge
September 18, 2026

How to Install RailOptimization on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.3).

3

Install Mod

Open the mod browser in the dashboard and search for "RailOptimization". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricforgeneoforgequilt

Minecraft Versions

26.3, 26.2, 26.1.2 (+38 more)

Server-side

✓ Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

RailOptimization server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.3). You can switch loaders with one click in the panel.

Is RailOptimization compatible with fabric and forge and neoforge and quilt?

RailOptimization officially supports fabric, forge, neoforge, quilt for Minecraft 26.3, 26.2, 26.1.2. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with RailOptimization – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if RailOptimization consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install RailOptimization with just one click on your server.

Recommended RAM
4 GBfrom €5.2/mo
Minimum 3 GB | per 8 players
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU General Public License v3.0 only
Server-side
Required

Supported Versions

26.326.226.1.226.1.126.11.21.111.21.101.21.91.21.81.21.7+31 more