LeviLamina
Loading...
Searching...
No Matches
ReplacementBiomeSource Class Reference
+ Inheritance diagram for ReplacementBiomeSource:

Classes

struct  BiomeReplacementIndex
 
struct  BiomeReplacementNoise
 

Public Member Functions

virtual void fillBiomes (::LevelChunk &levelChunk, ::ChunkLocalNoiseCache const &chunkLocalNoiseCache) const
 
virtual::BiomeArea getBiomeArea (::BoundingBox const &area, uint scale) const
 
virtual::BiomeArea getBiomeArea (::BoundingBox const &area, uint scale, ::GetBiomeOptions const &getBiomeOptionsIn) const
 
virtual bool containsOnly (int xo, int yo, int zo, int r, ::gsl::span<::BiomeIdType const > allowed) const
 
virtual::Biome const * getBiome (::BlockPos const &blockPos) const
 
virtual::Biome const * getBiome (::GetBiomeOptions const &getBiomeOptions) const
 
virtual::Biome const * getBiome (int blockX, int blockY, int blockZ) const
 
virtual bool hasBiomeById (::BiomeIdType id) const
 
virtual bool hasBiomeByNameHash (uint64 hash) const
 
virtual::BiomeSourceType const getType () const
 
MCAPI ReplacementBiomeSource (::XoroshiroPositionalRandomFactory const &random, ::std::vector<::BiomeReplacement > const &biomeReplacements, ::std::unique_ptr<::BiomeSource3d > wrappedBiomeSource)
 
MCAPI bool fullyReplacesBiomeById (::BiomeIdType id) const
 
MCAPI::Biome const * tryReplace (::Biome const *targetBiome, ::BlockPos const &position) const
 
MCAPI void * $ctor (::XoroshiroPositionalRandomFactory const &random, ::std::vector<::BiomeReplacement > const &biomeReplacements, ::std::unique_ptr<::BiomeSource3d > wrappedBiomeSource)
 
MCAPI void $dtor ()
 
MCAPI void $fillBiomes (::LevelChunk &levelChunk, ::ChunkLocalNoiseCache const &chunkLocalNoiseCache) const
 
MCFOLD::BiomeArea $getBiomeArea (::BoundingBox const &area, uint scale) const
 
MCAPI::BiomeArea $getBiomeArea (::BoundingBox const &area, uint scale, ::GetBiomeOptions const &getBiomeOptionsIn) const
 
MCAPI bool $containsOnly (int xo, int yo, int zo, int r, ::gsl::span<::BiomeIdType const > allowed) const
 
MCFOLD::Biome const * $getBiome (::BlockPos const &blockPos) const
 
MCAPI::Biome const * $getBiome (::GetBiomeOptions const &getBiomeOptions) const
 
MCFOLD::Biome const * $getBiome (int blockX, int blockY, int blockZ) const
 
MCAPI bool $hasBiomeById (::BiomeIdType id) const
 
MCAPI bool $hasBiomeByNameHash (uint64 hash) const
 
MCFOLD::BiomeSourceType const $getType () const
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 8, ::std::unique_ptr<::BiomeSource3d > > mWrappedBiomeSource
 
::ll::TypedStorage< 8, 64, ::std::unordered_map<::BiomeIdType, ::std::vector<::ReplacementBiomeSource::BiomeReplacementIndex > > > mVanillaBiomeToReplacementNoiseIndex
 
::ll::TypedStorage< 8, 40, ::brstd::flat_set<::BiomeIdType, ::std::less<::BiomeIdType >, ::std::vector<::BiomeIdType > > > mFullyReplacedBiomeIds
 
::ll::TypedStorage< 8, 40, ::brstd::flat_set< uint64, ::std::less< uint64 >, ::std::vector< uint64 > > > mFullyReplacedBiomeNameHashes
 
::ll::TypedStorage< 8, 24, ::std::vector<::ReplacementBiomeSource::BiomeReplacementNoise > > mNoiseEntries
 

Member Function Documentation

◆ fillBiomes()

virtual void ReplacementBiomeSource::fillBiomes ( ::LevelChunk & levelChunk,
::ChunkLocalNoiseCache const & chunkLocalNoiseCache ) const
virtual

Implements BiomeSource.

◆ getBiomeArea() [1/2]

virtual::BiomeArea ReplacementBiomeSource::getBiomeArea ( ::BoundingBox const & area,
uint scale ) const
virtual

Implements BiomeSource.

◆ getBiomeArea() [2/2]

virtual::BiomeArea ReplacementBiomeSource::getBiomeArea ( ::BoundingBox const & area,
uint scale,
::GetBiomeOptions const & getBiomeOptionsIn ) const
virtual

Implements BiomeSource.

◆ containsOnly()

virtual bool ReplacementBiomeSource::containsOnly ( int xo,
int yo,
int zo,
int r,
::gsl::span<::BiomeIdType const > allowed ) const
virtual

Implements BiomeSource.

◆ getBiome() [1/3]

virtual::Biome const * ReplacementBiomeSource::getBiome ( ::BlockPos const & blockPos) const
virtual

Implements BiomeSource.

◆ getBiome() [2/3]

virtual::Biome const * ReplacementBiomeSource::getBiome ( ::GetBiomeOptions const & getBiomeOptions) const
virtual

Implements BiomeSource.

◆ getBiome() [3/3]

virtual::Biome const * ReplacementBiomeSource::getBiome ( int blockX,
int blockY,
int blockZ ) const
virtual

Implements BiomeSource.

◆ hasBiomeById()

virtual bool ReplacementBiomeSource::hasBiomeById ( ::BiomeIdType id) const
virtual

Implements BiomeSource.

◆ hasBiomeByNameHash()

virtual bool ReplacementBiomeSource::hasBiomeByNameHash ( uint64 hash) const
virtual

Implements BiomeSource.

◆ getType()

virtual::BiomeSourceType const ReplacementBiomeSource::getType ( ) const
virtual

Implements BiomeSource.

◆ $vftable()

static MCAPI void ** ReplacementBiomeSource::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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