46 ::ll::TypedStorage<4, 12, ::Vec3 const> mStartPos;
47 ::ll::TypedStorage<4, 4, float const> mHorizontalRadius;
48 ::ll::TypedStorage<4, 4, float const> mVerticalRadius;
49 ::ll::TypedStorage<4, 24, ::CaveFeatureUtils::CarvingParameters const> mCarvingParameters;
50 ::ll::TypedStorage<4, 4, int const> mCurrentStep;
51 ::ll::TypedStorage<4, 4, int const> mTotalSteps;
52 ::ll::TypedStorage<4, 4, float const> mThickness;
59 ::ll::TypedStorage<4, 4, ::std::atomic<uint>> mUseCount;
60 ::ll::TypedStorage<8, 24, ::std::vector<::CaveFeature::CachedMetaData::CarveEllipsoidParams>>
61 mCarveEllipsoidParamsVector;
68 ::ll::TypedStorage<8, 8, ::Block const*> mFillWithBlock;
69 ::ll::TypedStorage<8, 16, ::ExpressionNode> mWidthMod;
70 ::ll::TypedStorage<4, 4, int> mSkipCarveChance;
71 ::ll::TypedStorage<4, 4, int> mHeightLimit;
72 ::ll::TypedStorage<4, 8, ::FloatRange> mYScale;
73 ::ll::TypedStorage<4, 8, ::FloatRange> mHorizontalRadiusMultiplier;
74 ::ll::TypedStorage<4, 8, ::FloatRange> mVerticalRadiusMultiplier;
75 ::ll::TypedStorage<4, 8, ::FloatRange> mFloorLevel;
76 ::ll::TypedStorage<8, 32, ::std::string const> VALID_PASS;
77 ::ll::TypedStorage<4, 4, float const> X_DAMPENING_FACTOR;
78 ::ll::TypedStorage<4, 4, float const> Y_DAMPENING_FACTOR;
79 ::ll::TypedStorage<4, 4, float const> STEEP_FLATTENING_FACTOR;
80 ::ll::TypedStorage<4, 4, float const> FLATTENING_FACTOR;
81 ::ll::TypedStorage<4, 4, int const> STEEP_CHANCE;
82 ::ll::TypedStorage<4, 4, int const> TUNNEL_SKIP_CHANCE;
83 ::ll::TypedStorage<4, 4, int const> CAVE_COUNT_BASE_FACTOR;
84 ::ll::TypedStorage<4, 4, int const> ROOM_CARVE_CHANCE;
85 ::ll::TypedStorage<4, 4, int const> MAX_NUM_TUNNELS_ADDED_ON_ROOM_CARVE;
86 ::ll::TypedStorage<1, 1, bool> mCacheEnabled;
90 ::std::unordered_map<int, ::std::unordered_map<int, ::std::shared_ptr<::CaveFeature::CachedMetaData>>>>
92 ::ll::TypedStorage<8, 80, ::Bedrock::Threading::Mutex> mCacheMutex;
93 ::ll::TypedStorage<4, 4, ::std::atomic<uint>> mPlaceCount;
99 virtual ~CaveFeature() ;
103 virtual bool isValidPlacement(::std::string
const& pass) ;
105 virtual void addRoom(
113 ::std::vector<::CaveFeature::CachedMetaData::CarveEllipsoidParams>& carveParamsOperations
116 virtual void addTunnel(
123 float horizontalRotation,
124 float verticalRotation,
130 ::std::vector<::CaveFeature::CachedMetaData::CarveEllipsoidParams>& carveParamsOperations
133 virtual bool carveEllipsoidVolume(
141 float carvingParameters,
145 virtual void addFeature(
151 ::std::vector<::CaveFeature::CachedMetaData::CarveEllipsoidParams>& carveParamsOperations
162 MCAPI
bool carveBlock(
167 ::Vec3 const& originalStartPos,
172 MCAPI
bool carveEllipsoid(
178 float horizontalRadius,
179 float verticalRadius,
193 MCAPI
static bool shouldSkipCarving(
float yd,
float xd_sq,
float yd_sq,
float zd_sq,
float floorLevel);
213 MCAPI
bool $isValidPlacement(::std::string
const& pass);
223 ::std::vector<::CaveFeature::CachedMetaData::CarveEllipsoidParams>& carveParamsOperations
226 MCAPI
void $addTunnel(
233 float horizontalRotation,
234 float verticalRotation,
240 ::std::vector<::CaveFeature::CachedMetaData::CarveEllipsoidParams>& carveParamsOperations
243 MCAPI
bool $carveEllipsoidVolume(
251 float carvingParameters,
255 MCAPI
void $addFeature(
261 ::std::vector<::CaveFeature::CachedMetaData::CarveEllipsoidParams>& carveParamsOperations
Definition WorldGenContext.h:13