Expand description
This module contains the legacy random number generator implementation.
Structs§
- Legacy
Random - Legacy Minecraft random number generator based on a Linear Congruential Generator (LCG).
This implementation mirrors Java’s
java.util.Randomwhich Minecraft originally used. - Legacy
Random Splitter - A positional random number generator factory for the legacy Minecraft LCG algorithm. This can create random sources based on position, hash, or seed.