Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
Biome Class Reference

Public Types

enum class  BiomeTempCategory : int { Ocean = 0 , Cold = 1 , Medium = 2 , Warm = 3 }

Public Member Functions

MCAPI Biome (::BiomeIdType id, ::std::string_view name)
MCAPI float getTemperature (::BlockSource const &region, ::BlockPos const &pos) const
MCAPI void * $ctor (::BiomeIdType id, ::std::string_view name)

Static Public Member Functions

static MCAPI void buildCachedTemperatureNoise (::LevelChunk &chunk)
static MCAPI ::mce::Color getColorBySamplingSurroundings (::BlockSource &region, ::BlockPos const &pos, ::std::vector<::BlockPos > const &pattern, ::gsl::not_null< int(*)(::Biome const &, ::BlockPos const &)> const &sampler)

Public Attributes

::ll::TypedStorage< 4, 4, float > mTemperature
::ll::TypedStorage< 4, 4, float > mDownfall
::ll::TypedStorage< 4, 4, float > mRedSporeDensity
::ll::TypedStorage< 4, 4, float > mBlueSporeDensity
::ll::TypedStorage< 4, 4, float > mAshDensity
::ll::TypedStorage< 4, 4, float > mWhiteAshDensity
::ll::TypedStorage< 4, 4, float > mSnowAccumulation
::ll::TypedStorage< 4, 4, float > mFoliageSnow
::ll::TypedStorage< 4, 4, float > mMinSnowLevel
::ll::TypedStorage< 4, 4, float > mMaxSnowLevel
::ll::TypedStorage< 4, 4, float > mDepth
::ll::TypedStorage< 4, 4, float > mScale
::ll::TypedStorage< 4, 4, int > mMapWaterColor
::ll::TypedStorage< 4, 4, float const > mMapWaterTransparency
::ll::TypedStorage< 1, 1, bool > mRain
::ll::TypedStorage< 4, 12, ::OceanRuinConfiguration > mOceanRuinConfig
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::MobSpawnerData > > > mMobs
::ll::TypedStorage< 8, 256, ::std::array<::WeightedRandomList<::br::worldgen::SpawnerData >, 8 > > mMobsMap
::ll::TypedStorage< 2, 2, ::BiomeIdType const > mId
::ll::TypedStorage< 8, 32, ::BiomeComponentStorage > mBiomeComponentStorage
::ll::TypedStorage< 8, 48, ::HashedString const > mHash
::ll::TypedStorage< 8, 16, ::std::map<::std::string, ::std::unique_ptr<::EAS::IEnvironmentAttribute >, ::std::less< void > > > mEnvironmentAttributes

Constructor & Destructor Documentation

◆ Biome()

MCAPI Biome::Biome ( ::BiomeIdType id,
::std::string_view name )
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.

Member Function Documentation

◆ buildCachedTemperatureNoise()

MCAPI void Biome::buildCachedTemperatureNoise ( ::LevelChunk & chunk)
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.

◆ getColorBySamplingSurroundings()

MCAPI ::mce::Color Biome::getColorBySamplingSurroundings ( ::BlockSource & region,
::BlockPos const & pos,
::std::vector<::BlockPos > const & pattern,
::gsl::not_null< int(* sampler )(::Biome const &, ::BlockPos const &)> const & )
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.

◆ $ctor()

MCAPI void * Biome::$ctor ( ::BiomeIdType id,
::std::string_view name )
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: