API reference Obsidian.API.World.Generator.RandomSources
LegacyRandomSource class
48-bit linear congruential generator identical to java.util.Random (vanilla LegacyRandomSource). Used by legacy noises, features and structure placement.
public class LegacyRandomSource : BitRandomSource
In Obsidian.API.
Constructors
public LegacyRandomSource(long seed);Methods
public override IRandomSource Fork();public override IPositionalRandomFactory ForkPositional();public override int Next(int bits);public override void SetSeed(long seed);