3#include "mc/_HeaderOutputPredefine.h"
4#include "mc/world/level/ChunkPos.h"
25 using TerrainAdjustmentToken = ::std::shared_ptr<bool>;
31 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<::BeardDescription, ::std::weak_ptr<bool>>>> mBeardifiers;
32 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<::BeardAndShaverDescription, ::std::weak_ptr<bool>>>>
34 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<::BuryDescription, ::std::weak_ptr<bool>>>> mBurys;
68 ::ll::TypedStorage<8, 64, ::std::unordered_map<::ChunkPos, ::FeatureTerrainAdjustments::Descriptions>>
69 mDescriptionsToProcess;
70 ::ll::TypedStorage<8, 8, ::std::shared_mutex> mMutex;
77 ::std::vector<::ChunkPos>
const& intersectingChunks,
81 MCNAPI ::FeatureTerrainAdjustments::Descriptions
at(
::ChunkPos const& chunkPos);
85 MCNAPI ::std::shared_ptr<bool>
Definition BeardAndShaverDescription.h:10
Definition BeardDescription.h:5
Definition BoundingBox.h:13
Definition BuryDescription.h:5
Definition FeatureTerrainAdjustments.h:17
static MCAPI float calculateContribution(::FeatureTerrainAdjustments::Descriptions const &descriptions, ::BlockPos const ¤tPos, float noiseValue)
MCAPI ::std::shared_ptr< bool > setBeardifier(::BoundingBox const &bb, int deltaY)
MCAPI ~FeatureTerrainAdjustments()
MCAPI ::std::shared_ptr< bool > _insertDescriptions(::std::vector<::ChunkPos > const &intersectingChunks, ::std::function< void(::FeatureTerrainAdjustments::Descriptions &, ::std::weak_ptr< bool >)> &&modifyFn)
MCAPI void garbageCollectDescriptions()
MCAPI ::std::shared_ptr< bool > setBury(::BoundingBox const &bb)
MCAPI ::std::shared_ptr< bool > setBeardAndShaver(::BoundingBox const &bb, int deltaY, float minBeardWidth, float maxBeardWidth)
MCAPI::FeatureTerrainAdjustments::Descriptions at(::ChunkPos const &chunkPos)
static MCAPI ::BeardKernel & mBeardKernel()
Definition BeardKernel.h:5
Definition FeatureTerrainAdjustments.h:27
MCAPI void * $ctor(::FeatureTerrainAdjustments::Descriptions const &)
MCAPI::FeatureTerrainAdjustments::Descriptions & operator=(::FeatureTerrainAdjustments::Descriptions &&)
MCAPI Descriptions(::FeatureTerrainAdjustments::Descriptions const &)