Tags
Creators
Details
Licensed GPL-3.0-only
Published 3 years ago
Updated 15 hours ago
All versions
2.0-snapshot.1
Beta
RailOptimization 2.0-snapshot 13 weeks ago 491
Compatibility
Minecraft: Java Edition
26.2
26.1.x
Platforms
Fabric
Quilt
Supported environments
Server-side
Singleplayer
Changes
RailOptimization v2.0-snapshot 1
This snapshot introduces the next-generation rail update engine — with state-changing updates 7-9x faster and unchanged updates up to 30x faster than vanilla.
🚀 Performance
- State-changing updates (toggles): 7.5-9x faster than vanilla
- Unchanged neighbor updates (repeated redstone pulses on an unchanged rail line): up to 30x faster
- Long rail lines with powerLimit=64: about 12x faster than v1.6
- Figures are statistical medians over 32 benchmark rounds on our test machine; real-world results vary with hardware and load
✨ New Features
Zero-Allocation Update Engine
- Rebuilt the powered rail update pipeline on pooled, per-thread update contexts with no allocation in the mod's own hot paths
- The rail search cache and update memo store their metadata in single bit-packed machine words, keeping the hot tables inside the L1 cache
- Straight and ascending rail depowering share a single step-table path with no branching per rail
Memoized Unchanged Updates
- Unchanged rails validate repeated neighbor updates against a memoized state and skip the rail line re-search entirely
- Redstone clocks and repeated pulses no longer re-traverse the full powered rail chain when nothing changed
🛠 Improvements
- Powered rail searches prune with the exact cached cost instead of re-walking known distances
- Signal searches skip conductor directions already known to be invalid
- Rail power limit values are clamped to the valid range
🐞 Fixes
- Fixed out-of-range rail power limit values being stored as-is instead of being clamped
⚠️ Snapshot Notes
- This is a snapshot intended for testing before the final v2.0 release
- This release changes no observable rail or redstone behavior — it is a pure performance update, verified by the parity test suite
Supplementary resources
| File | Type | Size | |
|---|---|---|---|
| railoptimization-2.0-snapshot+mc26.1.2-fabric-sources.jar | Sources jar | 55.74 KiB |
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:QSvN5pBU:RUbzU6u2"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:QSvN5pBU:RUbzU6u2"
}

