Faster Random
Faster Random is a complete redesign of Minecraft's random number generators, now utilizing modern LXM generators from Java 17 instead of standard CheckedRandom and related algorithms. Modern Java Virtual Machines typically support this technology by default, but it's recommended to check logs for possible warnings!
In addition to optimization, the modification fixes the well-known MC-239059 bug, which while not significantly affecting gameplay still requires correction.
The new generators may require more time for initialization (primarily tested on Linux systems with AMD processors), but demonstrate significantly higher number generation speeds. Since Minecraft actively reuses generators (avoiding initialization penalties), the final performance improvement can vary substantially.
Performance testing is available through a special test module that runs comparative benchmarks for each generation method.
Currently, Faster Random focuses on optimizing the slowest generators, providing noticeable acceleration for world structure generation, terrain features and cave generation, as well as numerous client-side processes like dropped item behavior. Faster generators are not yet affected (until complete confidence in positive effects without potential negative consequences is established).
Should you use this mod?
Faster Random likely improves world generation performance only up to a certain limit, since you'll quickly encounter RAM and disk operation bottlenecks due to the increased number of chunks stored in memory and written to disk. This isn't a drawback - such situation indicates that chunk generation occurs faster than the system can save them. Depending on hardware configuration, results may differ significantly.
Thus, the mod shows the greatest effect in situations where server threads are processor-limited (singleplayer runs on an internal server), but sufficient fast memory and storage are available (DDR4 RAM and HDD with SATA III interface or better).
Regarding world generation, Faster Random maintains almost perfect compatibility with the original, but some cave shapes may generate differently than in standard Minecraft. All other elements remain fully identical. These differences will likely be hardly noticeable, but for tasks requiring perfect parity (such as speedrunning), the mod is better not to use. Optifine's mathematical optimizations introduce much more significant changes to world generation than Faster Random.
Faster Random doesn't require simultaneous installation on both client and server. On the client side, the mod can provide a slight performance improvement by optimizing numerous random processes.
System requirements (version 3.0.0 and above)
- Java Virtual Machine with full support for the new
RandomGeneratorsystem from Java 17, including LXM generator implementations. On unsupported JVMs, the mod automatically disables, requiring the use of version 1.6.0. If your JVM doesn't support these technologies, it's probably not the optimal choice.
Important: some users may unknowingly use headless JDK for Minecraft, causing Faster Random issues for various reasons. It's recommended to verify the correctness of installed JDK/package when crashes occur.
When using the standard Minecraft launcher, the mod should work stably with the built-in JVM, so these instructions can be ignored if no warnings appear in logs.
Compatibility with other mods
Faster Random shows good compatibility with most popular modifications, especially after version 4.0.0. Active support is provided for major world generation mods as well as Distant Horizons.
Faster Random can show improved results when combined with other optimization mods like Noisium and C2ME, thanks to more efficient use of multithreading in Minecraft's random generators. The optimal configuration is considered to be Noisium + Faster Random combination with maximum available RAM allocation (10 GB or more) when using Distant Horizons (C2ME may reduce performance with DH). Combined use with Noisium allows reducing processor load during world generation.
Forge version?
An unofficial equivalent for versions 1.16 and 1.18 is provided by the Francium mod, which implements most Faster Random features but excludes world generation optimizations. For versions 1.20.1 and above, you can try using Sinytra Connector to run the mod with "stable enough" operation. A port for NeoForge is also available starting from version 1.20.1+.
The Faster Random icon is distributed under CC-BY-SA license. Source code is available under Apache 2.0 license.