Tags
Creators
Details
Licensed GPL-3.0-only
Published 3 years ago
Updated 2 weeks ago
All versions
1.6
Release
RailOptimization 1.62 weeks ago 671
Uploaded by
Compatibility
Minecraft: Java Edition
1.21–1.21.1
1.20.x
Platforms
Fabric
Quilt
Supported environments
Server-side
Singleplayer
Changes
RailOptimization v1.6
RailOptimization v1.6 further reduces the cost of powered rail and activator rail updates, especially in frequently changing rail networks.
What's New
- Added
/railoptimization powerLimit <value>to change the powered/activator rail signal range from 1 to 64. The default remains 8 and changing it requires administrator permission. /railoptimizationnow displays both the optimization state and the current power limit.
Improvements
- Reworked rail traversal and search caching to avoid repeated path scans during the same update.
- Replaced the per-update hash map with a compact cache designed for Minecraft's short rail signal paths.
- Reused update contexts and mutable positions to reduce temporary allocations and garbage collection pressure.
- Cached direct redstone power checks and improved the fast path for straight rail lines.
Fixes
- Rail-shape lookup tables no longer rely on hard-coded enum ordinal ordering.
- Rail-search cache entries are isolated between update phases to prevent unrelated search results from being reused.
Supplementary resources
| File | Type | Size | |
|---|---|---|---|
| railoptimization-fabric-mc1.20.1-1.6-sources.jar | Source jar | 53.12 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:eYdnLaiw"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:QSvN5pBU:eYdnLaiw"
}

