LeviLamina
Loading...
Searching...
No Matches
br::worldgen::WorldGenRandom Struct Reference
+ Inheritance diagram for br::worldgen::WorldGenRandom:

Public Member Functions

virtual int nextInt ()
 
virtual int nextInt (int bound)
 
virtual int64 nextLong ()
 
virtual bool nextBoolean ()
 
virtual float nextFloat ()
 
virtual double nextDouble ()
 
virtual double nextGaussianDouble ()
 
virtual void consumeCount (uint count)
 
virtual ::std::unique_ptr<::IRandomfork ()
 
virtual ::std::unique_ptr<::IPositionalRandomFactoryforkPositional ()
 
virtual void setSeed (int64 seed)
 
virtual void setSeed (::Seed128Bit seed)
 
virtual int64 seed64 () const
 
virtual::Seed128Bit seed128 () const
 
MCAPI::br::worldgen::WorldGenRandom forkPositional (::BlockPos pos)
 
MCAPI::br::worldgen::WorldGenRandom & setLargeFeatureSeed (int64 seed, int chunkX, int chunkZ)
 
MCAPI void $dtor ()
 
MCAPI int $nextInt ()
 
MCAPI int $nextInt (int bound)
 
MCAPI int64 $nextLong ()
 
MCAPI bool $nextBoolean ()
 
MCAPI float $nextFloat ()
 
MCAPI double $nextDouble ()
 
MCAPI double $nextGaussianDouble ()
 
MCAPI void $consumeCount (uint count)
 
MCAPI ::std::unique_ptr<::IRandom$fork ()
 
MCFOLD ::std::unique_ptr<::IPositionalRandomFactory$forkPositional ()
 
MCAPI void $setSeed (int64 seed)
 
MCAPI void $setSeed (::Seed128Bit seed)
 
MCAPI int64 $seed64 () const
 
MCAPI::Seed128Bit $seed128 () const
 

Static Public Member Functions

static MCAPI ::br::worldgen::WorldGenRandom createDecoration (int64 seed, int chunkX, int chunkZ)
 
static MCAPI void ** $vftableForIRandom ()
 
static MCAPI void ** $vftableForIRandomSeeded ()
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 56, ::std::variant<::SimpleRandom, ::XoroshiroRandom > > mSource
 

Member Function Documentation

◆ nextInt() [1/2]

virtual int br::worldgen::WorldGenRandom::nextInt ( )
virtual

Implements IRandom.

◆ nextInt() [2/2]

virtual int br::worldgen::WorldGenRandom::nextInt ( int bound)
virtual

Implements IRandom.

◆ nextLong()

virtual int64 br::worldgen::WorldGenRandom::nextLong ( )
virtual

Implements IRandom.

◆ nextBoolean()

virtual bool br::worldgen::WorldGenRandom::nextBoolean ( )
virtual

Implements IRandom.

◆ nextFloat()

virtual float br::worldgen::WorldGenRandom::nextFloat ( )
virtual

Implements IRandom.

◆ nextDouble()

virtual double br::worldgen::WorldGenRandom::nextDouble ( )
virtual

Implements IRandom.

◆ nextGaussianDouble()

virtual double br::worldgen::WorldGenRandom::nextGaussianDouble ( )
virtual

Implements IRandom.

◆ consumeCount()

virtual void br::worldgen::WorldGenRandom::consumeCount ( uint count)
virtual

Implements IRandom.

◆ fork()

virtual ::std::unique_ptr<::IRandom > br::worldgen::WorldGenRandom::fork ( )
virtual

Implements IRandom.

◆ setSeed() [1/2]

virtual void br::worldgen::WorldGenRandom::setSeed ( int64 seed)
virtual

Implements IRandomSeeded.

◆ setSeed() [2/2]

virtual void br::worldgen::WorldGenRandom::setSeed ( ::Seed128Bit seed)
virtual

Implements IRandomSeeded.

◆ seed64()

virtual int64 br::worldgen::WorldGenRandom::seed64 ( ) const
virtual

Implements IRandomSeeded.

◆ seed128()

virtual::Seed128Bit br::worldgen::WorldGenRandom::seed128 ( ) const
virtual

Implements IRandomSeeded.


The documentation for this struct was generated from the following file: