About RailOptimization
From ModrinthA simple mod that makes powered/activator rails turn on/off up to 20x faster.
Description
RailOptimization is a lightweight mod that makes powered rails and activator rails turn on and off up to 20x 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 |
Snapshot:
| Benchmark scenario (use v2.5-snapshot.1) | Fabric (up to) | NeoForge (up to) | | ------------------------------------------------ | -------------: | ---------------: | | Straight rail state changes | 15.10x | 26.04x | | Mixed-slope state changes | 20.07x | 34.20x | | Repeated unchanged-state updates (indirect power) | 52.27x | 40.15x |
_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 offand 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.
Special thanks also go to JellySquid, 2No2Name, and the other Lithium contributors. RailOptimization's rail-specific batch-write design was developed by studying and drawing on their source code and existing palette and chunk-storage optimizations. When Lithium is installed, RailOptimization uses its optimized palette and bit-storage implementations and integrates with its block-change tracking. Lithium remains optional.
More Information
For source code, issue reports, or any other questions, please visit the RailOptimization GitHub repository.
Highlights
From source dataGame versions
Supports 41 Minecraft versions, the newest being 26.3.
Loaders
Runs on Fabric, Forge, NeoForge and Quilt.
Footprint
Rated a light load on a server.
RailOptimization on Nxeon
From our catalogue- One-click install
- Supported on Nxeon Minecraft servers. We download it from Modrinth, place it, and restart the server.
- Server side
- Required on the server
- Server type needed
- Fabric, Forge, NeoForge, Quilt
- Server load
- light
- Smallest plan we suggest
- Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
- Latest build
- 2.5-snapshot.1 (beta), released 2026-10-14
Game versions by loader
| Loader | Game versions | Newest |
|---|---|---|
| NeoForge | 1.21.5 to 26.3 (12 versions) | 26.3 |
| Fabric | 1.21.11 to 26.3 (6 versions) | 26.3 |
| Quilt | 1.21.11 to 26.3 (6 versions) | 26.3 |
From 7 recorded builds of RailOptimization.
Recent builds
| Build | Released | Game versions | Loaders |
|---|---|---|---|
| 2.5-snapshot.1 beta | 2026-10-14 | 26.1 to 26.3 (5 versions) | NeoForge |
| 2.5-snapshot.1 beta | 2026-10-14 | 26.1 to 26.3 (5 versions) | Fabric, Quilt |
| 2.0 | 2026-09-18 | 26.1 to 26.3 (5 versions) | NeoForge |
| 2.0 | 2026-09-18 | 26.1 to 26.3 (5 versions) | Fabric, Quilt |
| 2.0 | 2026-09-18 | 1.21.11 | NeoForge |
| 2.0 | 2026-09-18 | 1.21.11 | Fabric, Quilt |
Dependencies
- Optional: modrinth project gvQqBUqZ (modrinth, not in our catalogue)
Declared by the newest build that lists any. Required ones are installed with it on one-click installs.
Run RailOptimization on a Minecraft server
Pick a server or deploy a new one above; it is installed in one click.
What kind of mod it is
From the catalogGameplay & overhauls
New mechanics, content and overhauls that change how the game plays.
Runs on your server
From source side supportModrinth lists RailOptimization as required on the server. Check its Modrinth page to see whether players need it too.
Compatibility
- Game
- Minecraft
- Loaders
- FabricForgeNeoForgeQuilt
- Runs on
- Serverrequired on the server
- Game versions
- 26.3 and 40 earlier
Verified at the source
- ✓ModrinthOfficial listing, checked 2026-10-14Open ↗
- ✓AuthorEasterGhost2, as published on Modrinth
- ✓LicenseGPL-3.0-onlyFree












