28 enum class PlaceAction :
int {
35 using BiomeDecorationFeatureMap = ::std::unordered_map<::HashedString, ::BiomeDecorationFeature>;
37 using PlaceResult = ::nonstd::expected<::BoundingBox, ::std::string_view>;
42 ::ll::TypedStorage<4, 4, ::PlaceCommand::PlaceAction> mPlaceAction;
43 ::ll::TypedStorage<8, 32, ::CommandFilePath> mPool;
44 ::ll::TypedStorage<8, 32, ::std::string> mTarget;
45 ::ll::TypedStorage<4, 4, int> mMaxDepth;
46 ::ll::TypedStorage<4, 16, ::CommandPosition> mPosition;
47 ::ll::TypedStorage<8, 32, ::std::string> mStructureOrFeatureName;
48 ::ll::TypedStorage<8, 8, ::IFeature const*> mFeature;
49 ::ll::TypedStorage<1, 1, ::br::worldgen::LiquidSettings> mLiquidSettings;
50 ::ll::TypedStorage<1, 1, bool> mPosIsSet;
51 ::ll::TypedStorage<1, 1, bool> mIgnoreStartHeight;
52 ::ll::TypedStorage<1, 1, bool> mKeepJigsaws;
53 ::ll::TypedStorage<1, 1, bool> mIncludeEntities;
67 MCAPI
void _placeFeature(
74 MCAPI
void _placeFeatureRule(
75 ::std::string
const& featureRuleName,
81 MCAPI
void _placeJigsaw(
82 ::std::string
const& pool,
83 ::std::string
const& target,
88 ::br::worldgen::LiquidSettings liquidSettings,
93 MCAPI
void _placeStructure(
94 ::std::string
const&
id,
96 bool ignoreStartHeight,
99 ::br::worldgen::LiquidSettings liquidSettings,
108 MCAPI static ::nonstd::expected<::BoundingBox, ::std::string_view> placeJigsaw(
109 ::std::string
const& pool,
110 ::std::string
const& target,
114 bool includeEntities,
116 ::br::worldgen::LiquidSettings liquidSettings
119 MCAPI static ::nonstd::expected<::BoundingBox, ::std::string_view> placeStructure(
120 ::std::string
const&
id,
123 bool ignoreStartHeight,
125 bool includeEntities,
126 ::br::worldgen::LiquidSettings liquidSettings
129 MCAPI
static void setup(
131 ::std::unordered_map<::HashedString, ::BiomeDecorationFeature>
const& biomeDecorationFeatures,