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

Classes

struct  Descriptions

Public Types

using TerrainAdjustmentToken = ::std::shared_ptr<bool>

Public Member Functions

MCAPI ::std::shared_ptr< bool > _insertDescriptions (::std::vector<::ChunkPos > const &intersectingChunks, ::std::function< void(::FeatureTerrainAdjustments::Descriptions &, ::std::weak_ptr< bool >)> &&modifyFn)
MCAPI::FeatureTerrainAdjustments::Descriptions at (::ChunkPos const &chunkPos)
MCAPI void garbageCollectDescriptions ()
MCAPI ::std::shared_ptr< bool > setBeardAndShaver (::BoundingBox const &bb, int deltaY, float minBeardWidth, float maxBeardWidth)
MCAPI ::std::shared_ptr< bool > setBeardifier (::BoundingBox const &bb, int deltaY)
MCAPI ::std::shared_ptr< bool > setBury (::BoundingBox const &bb)

Static Public Member Functions

static MCAPI float calculateContribution (::FeatureTerrainAdjustments::Descriptions const &descriptions, ::BlockPos const &currentPos, float noiseValue)
static MCAPI ::BeardKernel & mBeardKernel ()

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_map<::ChunkPos, ::FeatureTerrainAdjustments::Descriptions > > mDescriptionsToProcess
::ll::TypedStorage< 8, 8, ::std::shared_mutex > mMutex

Member Function Documentation

◆ _insertDescriptions()

MCAPI ::std::shared_ptr< bool > FeatureTerrainAdjustments::_insertDescriptions ( ::std::vector<::ChunkPos > const & intersectingChunks,
::std::function< void(::FeatureTerrainAdjustments::Descriptions &, ::std::weak_ptr< bool >)> && modifyFn )
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.

◆ at()

MCAPI::FeatureTerrainAdjustments::Descriptions FeatureTerrainAdjustments::at ( ::ChunkPos const & chunkPos)
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.

◆ garbageCollectDescriptions()

MCAPI void FeatureTerrainAdjustments::garbageCollectDescriptions ( )
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.

◆ setBeardAndShaver()

MCAPI ::std::shared_ptr< bool > FeatureTerrainAdjustments::setBeardAndShaver ( ::BoundingBox const & bb,
int deltaY,
float minBeardWidth,
float maxBeardWidth )
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.

◆ setBeardifier()

MCAPI ::std::shared_ptr< bool > FeatureTerrainAdjustments::setBeardifier ( ::BoundingBox const & bb,
int deltaY )
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.

◆ setBury()

MCAPI ::std::shared_ptr< bool > FeatureTerrainAdjustments::setBury ( ::BoundingBox const & bb)
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.

◆ calculateContribution()

MCAPI float FeatureTerrainAdjustments::calculateContribution ( ::FeatureTerrainAdjustments::Descriptions const & descriptions,
::BlockPos const & currentPos,
float noiseValue )
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.

◆ mBeardKernel()

MCAPI ::BeardKernel & FeatureTerrainAdjustments::mBeardKernel ( )
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: