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

Classes

struct  CachedMetaData
 

Public Member Functions

virtual ::std::optional<::BlockPosplace (::IFeature::PlacementContext const &context) const
 
virtual bool isValidPlacement (::std::string const &pass)
 
virtual void addRoom (::IBlockWorldGenAPI &target, ::CaveFeatureUtils::CarverConfiguration const &configuration, ::Random &random, ::ChunkPos const &chunkPos, ::Vec3 const &startPos, ::RenderParams &renderParams, ::CaveFeatureUtils::CarvingParameters const &carvingParameters, ::std::vector<::CaveFeature::CachedMetaData::CarveEllipsoidParams > &carveParamsOperations) const
 
virtual void addTunnel (::IBlockWorldGenAPI &target, ::CaveFeatureUtils::CarverConfiguration const &configuration, ::Random &random, ::ChunkPos const &chunkPos, ::Vec3 const &startPos, float thickness, float horizontalRotation, float verticalRotation, int step, int dist, float yScale, ::RenderParams &renderParams, ::CaveFeatureUtils::CarvingParameters const &carvingParameters, ::std::vector<::CaveFeature::CachedMetaData::CarveEllipsoidParams > &carveParamsOperations) const
 
virtual bool carveEllipsoidVolume (::IBlockWorldGenAPI &target, ::CaveFeatureUtils::CarverConfiguration const &configuration, ::Random &, ::ChunkPos const &chunkPos, ::Vec3 const &startPos, ::BoundingBox const &volume, float rad, float yRad, ::CaveFeatureUtils::CarvingParameters const &carvingParameters) const
 
virtual void addFeature (::IBlockWorldGenAPI &target, ::ChunkPos const &pos, ::Random &random, ::ChunkPos const &startChunk, ::RenderParams &renderParams, ::std::vector<::CaveFeature::CachedMetaData::CarveEllipsoidParams > &carveParamsOperations) const
 
MCAPI bool carveBlock (::IBlockWorldGenAPI &target, ::CaveFeatureUtils::CarverConfiguration const &configuration, ::BlockPos currentBlockPos, bool carved, ::Vec3 const &originalStartPos, int currentYIndex, ::BlockPos worldPos) const
 
MCAPI bool carveEllipsoid (::IBlockWorldGenAPI &target, ::CaveFeatureUtils::CarverConfiguration const &configuration, ::Random &random, ::ChunkPos const &chunkPos, ::Vec3 const &startPos, float horizontalRadius, float verticalRadius, ::CaveFeatureUtils::CarvingParameters const &carvingParameters) const
 
MCAPI bool detectWater (::IBlockWorldGenAPI &target, ::BoundingBox const &volume) const
 
MCAPI void * $ctor ()
 
MCAPI ::std::optional<::BlockPos$place (::IFeature::PlacementContext const &context) const
 
MCAPI bool $isValidPlacement (::std::string const &pass)
 
MCAPI void $addRoom (::IBlockWorldGenAPI &target, ::CaveFeatureUtils::CarverConfiguration const &configuration, ::Random &random, ::ChunkPos const &chunkPos, ::Vec3 const &startPos, ::RenderParams &renderParams, ::CaveFeatureUtils::CarvingParameters const &carvingParameters, ::std::vector<::CaveFeature::CachedMetaData::CarveEllipsoidParams > &carveParamsOperations) const
 
MCAPI void $addTunnel (::IBlockWorldGenAPI &target, ::CaveFeatureUtils::CarverConfiguration const &configuration, ::Random &random, ::ChunkPos const &chunkPos, ::Vec3 const &startPos, float thickness, float horizontalRotation, float verticalRotation, int step, int dist, float yScale, ::RenderParams &renderParams, ::CaveFeatureUtils::CarvingParameters const &carvingParameters, ::std::vector<::CaveFeature::CachedMetaData::CarveEllipsoidParams > &carveParamsOperations) const
 
MCAPI bool $carveEllipsoidVolume (::IBlockWorldGenAPI &target, ::CaveFeatureUtils::CarverConfiguration const &configuration, ::Random &, ::ChunkPos const &chunkPos, ::Vec3 const &startPos, ::BoundingBox const &volume, float rad, float yRad, ::CaveFeatureUtils::CarvingParameters const &carvingParameters) const
 
MCAPI void $addFeature (::IBlockWorldGenAPI &target, ::ChunkPos const &pos, ::Random &random, ::ChunkPos const &startChunk, ::RenderParams &renderParams, ::std::vector<::CaveFeature::CachedMetaData::CarveEllipsoidParams > &carveParamsOperations) const
 
virtual void upgradeFormat (::SemVersion const &)
 
MCFOLD void $dtor ()
 
MCFOLD void $upgradeFormat (::SemVersion const &)
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 
static MCAPI bool isExposedTo (::IBlockWorldGenAPI const &target, ::BlockPos const &candidatePos, ::BlockDescriptor const &exposedTo)
 
static MCAPI ::std::string_view const & DEFAULT_NOT_SUPPORTED_PASS ()
 

Public Attributes

::ll::TypedStorage< 8, 8, ::Block const * > mFillWithBlock
 
::ll::TypedStorage< 8, 16, ::ExpressionNodemWidthMod
 
::ll::TypedStorage< 4, 4, int > mSkipCarveChance
 
::ll::TypedStorage< 4, 4, int > mHeightLimit
 
::ll::TypedStorage< 4, 8, ::FloatRangemYScale
 
::ll::TypedStorage< 4, 8, ::FloatRangemHorizontalRadiusMultiplier
 
::ll::TypedStorage< 4, 8, ::FloatRangemVerticalRadiusMultiplier
 
::ll::TypedStorage< 4, 8, ::FloatRangemFloorLevel
 
::ll::TypedStorage< 8, 32, ::std::string const > VALID_PASS
 
::ll::TypedStorage< 4, 4, float const > X_DAMPENING_FACTOR
 
::ll::TypedStorage< 4, 4, float const > Y_DAMPENING_FACTOR
 
::ll::TypedStorage< 4, 4, float const > STEEP_FLATTENING_FACTOR
 
::ll::TypedStorage< 4, 4, float const > FLATTENING_FACTOR
 
::ll::TypedStorage< 4, 4, int const > STEEP_CHANCE
 
::ll::TypedStorage< 4, 4, int const > TUNNEL_SKIP_CHANCE
 
::ll::TypedStorage< 4, 4, int const > CAVE_COUNT_BASE_FACTOR
 
::ll::TypedStorage< 4, 4, int const > ROOM_CARVE_CHANCE
 
::ll::TypedStorage< 4, 4, int const > MAX_NUM_TUNNELS_ADDED_ON_ROOM_CARVE
 
::ll::TypedStorage< 1, 1, bool > mCacheEnabled
 
::ll::TypedStorage< 8, 64, ::std::unordered_map< int, ::std::unordered_map< int, ::std::shared_ptr<::CaveFeature::CachedMetaData > > > > mCachedMetaDataMap
 
::ll::TypedStorage< 8, 80, ::Bedrock::Threading::MutexmCacheMutex
 
::ll::TypedStorage< 4, 4, ::std::atomic< uint > > mPlaceCount
 
::ll::TypedStorage< 1, 1, bool > mInternal
 
::ll::TypedStorage< 1, 1, bool > mCanUseInternalFeature
 

Member Function Documentation

◆ place()

virtual ::std::optional<::BlockPos > CaveFeature::place ( ::IFeature::PlacementContext const & context) const
virtual

Implements IFeature.

◆ isValidPlacement()

virtual bool CaveFeature::isValidPlacement ( ::std::string const & pass)
virtual

Reimplemented from IFeature.

◆ $vftable()

static MCAPI void ** CaveFeature::$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: