Closed dfsek closed 2 years ago
If this is removed I think we need some sort of time since world gen data source, so that world gen can be completely stateless while features like #111 and #322 can appear "random"
These features can just salt the world seed with some value, probably just a number from the server random.
I believe ores also use the random parameter, they should be modified to accept a noise sampler which is used instead
Currently, TerraScript contains a
randomInt
function which fetches the next random integer within a range from a mutable Random object. This Random is supplied by theStructure#generate
method. TherandomInt
function should be removed, as well as theRandom
parameter from the generate method, in favor of using stateless random sources, specifically noise functions.(additionally, check elsewhere for any other uses of
Random
that we may have forgotten about)