
Francium
Francium is a Minecraft optimization mod for the Forge platform that significantly improves game performance. Its main function is to replace standard random number generators with more efficient multi-threaded alternatives.
How Optimization Works
The mod replaces Random
class fields with ThreadLocalRandom
, which allows for noticeable FPS increase during gameplay. This solution provides faster operation of the random value generation system without changing the gameplay.
An important feature of Francium is that it doesn't affect world generation or other fundamental aspects of the game. The only noticeable difference from the vanilla version is the movement speed of squid tentacles, which practically doesn't affect the gaming experience.
Technical Features
ThreadLocalRandom has an important property: its setSeed
method is not supported. Therefore, Francium can safely replace only those Random fields that don't use this method. Version 1.0.0 added additional protection that prevents possible crashes when calling unsupported operations.
Compatibility and Performance
- Client side: Optional
- Server side: Optional
- Minecraft version: 1.16.5
- Recommended Java version: Azul Zulu Java 17
Testing Results
Testing was conducted under identical conditions with all entities and items cleared. With Francium installed, average FPS was 780-800 frames per second, while without the mod this indicator was at 630-650 FPS.
Support for New Versions
Currently, the mod doesn't support Minecraft versions 1.19.2 and above. This is due to Mojang completely overhauling the random number generation system, replacing standard Java Random with their own RandomSource class. In future versions, optimization may be less effective due to these changes.