35 enum class NeedsMolang :
int {
44 ::ll::TypedStorage<8, 16, ::ExpressionNode> mChancePercent;
45 ::ll::TypedStorage<4, 4, int> mNumerator;
46 ::ll::TypedStorage<4, 4, int> mDenominator;
54 ::ll::TypedStorage<8, 16, ::ExpressionNode> mMinOrSingleValue;
55 ::ll::TypedStorage<8, 16, ::ExpressionNode> mMax;
56 ::ll::TypedStorage<4, 4, uint> mGridStepSize;
57 ::ll::TypedStorage<4, 4, uint> mGridOffset;
58 ::ll::TypedStorage<4, 4, ::SharedTypes::v1_21_10::RandomDistributionType> mDistribution;
59 ::ll::TypedStorage<4, 12, ::std::optional<::IntRange>> mFastPathRange;
65 MCNAPI
int _eval(
int evaluatedMin,
int evaluatedMax, uint& stepIndex,
::Random& random)
const;
77 class ScatteredPositions {
81 ::ll::TypedStorage<8, 8, ::RenderParams&> mMolangParams;
82 ::ll::TypedStorage<8, 8, ::Random&> mRandom;
83 ::ll::TypedStorage<8, 8, ::ScatterParams const&> mScatterParams;
84 ::ll::TypedStorage<4, 12, ::BlockPos> mOrigin;
85 ::ll::TypedStorage<4, 4, uint> mIterations;
90 ScatteredPositions& operator=(ScatteredPositions
const&);
91 ScatteredPositions(ScatteredPositions
const&);
106 ::ll::TypedStorage<8, 168, ::ScatterParams::CoordinateRange[3]> mCoordinateRanges;
107 ::ll::TypedStorage<4, 4, ::SharedTypes::v1_21_10::CoordinateEvaluationOrder> mEvalOrder;
108 ::ll::TypedStorage<8, 24, ::ScatterParams::ChanceInformation> mScatterChance;
109 ::ll::TypedStorage<8, 16, ::ExpressionNode> mIterations;
114 ScatterParams& operator=(ScatterParams
const&);
119 MCAPI ScatterParams();
121 MCAPI ScatterParams(::ScatterParams&&);
123 MCAPI ScatterParams(::ScatterParams
const&);
125 MCAPI
void _fillCoordinateRangeFromData(
126 ::std::string
const& coordinateName,
129 ::MolangVersion
const& molangVersion,
133 MCAPI
void fillFromData(
135 ::MolangVersion molangVersion,
141 MCAPI ::ScatterParams::ScatteredPositions
146 MCAPI ~ScatterParams();
152 MCFOLD
static void _parseExpressionNodeFloat(
154 ::std::string
const& expression,
161 MCAPI
static void initScatterParamIndices();
169 MCAPI
void* $ctor(::ScatterParams&&);
171 MCAPI
void* $ctor(::ScatterParams
const&);