## 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.
- `/railoptimization` now 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.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }