26 ::ll::TypedStorage<8, 56, ::std::variant<::SimpleRandom, ::XoroshiroRandom>> mSource;
36 virtual int nextInt() ;
38 virtual int nextInt(
int bound) ;
40 virtual int64 nextLong() ;
42 virtual bool nextBoolean() ;
44 virtual float nextFloat() ;
46 virtual double nextDouble() ;
48 virtual double nextGaussianDouble() ;
50 virtual void consumeCount(uint count) ;
52 virtual ::std::unique_ptr<::IRandom> fork() ;
54 virtual ::std::unique_ptr<::IPositionalRandomFactory> forkPositional() ;
56 virtual void setSeed(int64 seed) ;
60 virtual int64 seed64()
const ;
62 virtual ::Seed128Bit seed128()
const ;
64 virtual ~WorldGenRandom() =
default;
72 MCAPI ::br::worldgen::WorldGenRandom forkPositional(
::BlockPos pos);
76 MCAPI ::br::worldgen::WorldGenRandom& setLargeFeatureSeed(int64 seed,
int chunkX,
int chunkZ);
82 MCAPI static ::br::worldgen::WorldGenRandom create(int64 seed);
84 MCAPI static ::br::worldgen::WorldGenRandom createDecoration(int64 seed,
int chunkX,
int chunkZ);
98 MCAPI
int $nextInt(
int bound);
100 MCAPI int64 $nextLong();
102 MCAPI
bool $nextBoolean();
104 MCAPI
float $nextFloat();
106 MCAPI
double $nextDouble();
108 MCAPI
double $nextGaussianDouble();
110 MCAPI
void $consumeCount(uint count);
112 MCAPI ::std::unique_ptr<::IRandom> $fork();
114 MCFOLD ::std::unique_ptr<::IPositionalRandomFactory> $forkPositional();
116 MCAPI
void $setSeed(int64 seed);
120 MCAPI int64 $seed64()
const;
122 MCAPI ::Seed128Bit $seed128()
const;