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;
66 ::ll::TypedStorage<8, 16, ::ExpressionNode> mMinOrSingleValue;
67 ::ll::TypedStorage<8, 16, ::ExpressionNode> mMax;
68 ::ll::TypedStorage<4, 4, uint> mGridStepSize;
69 ::ll::TypedStorage<4, 4, uint> mGridOffset;
70 ::ll::TypedStorage<4, 4, ::SharedTypes::v1_21_10::RandomDistributionType> mDistribution;
71 ::ll::TypedStorage<4, 12, ::std::optional<::IntRange>> mFastPathRange;
87 MCNAPI
int _eval(
int evaluatedMin,
int evaluatedMax, uint& stepIndex,
::Random& random)
const;
109 class ScatteredPositions {
113 ::ll::TypedStorage<8, 8, ::RenderParams&> mMolangParams;
114 ::ll::TypedStorage<8, 8, ::Random&> mRandom;
115 ::ll::TypedStorage<8, 8, ::ScatterParams const&> mScatterParams;
116 ::ll::TypedStorage<4, 12, ::BlockPos> mOrigin;
117 ::ll::TypedStorage<4, 4, uint> mIterations;
122 ScatteredPositions& operator=(ScatteredPositions
const&);
123 ScatteredPositions(ScatteredPositions
const&);
124 ScatteredPositions();
130 ::ll::TypedStorage<8, 168, ::ScatterParams::CoordinateRange[3]> mCoordinateRanges;
131 ::ll::TypedStorage<4, 4, ::SharedTypes::v1_21_10::CoordinateEvaluationOrder> mEvalOrder;
132 ::ll::TypedStorage<8, 24, ::ScatterParams::ChanceInformation> mScatterChance;
133 ::ll::TypedStorage<8, 16, ::ExpressionNode> mIterations;
138 ScatterParams(ScatterParams
const&);
144 MCAPI
void _fillCoordinateRangeFromData(
145 ::std::string
const& coordinateName,
148 ::MolangVersion
const& molangVersion,
155 MCAPI
void fillFromData(
157 ::MolangVersion molangVersion,
161 MCAPI ::ScatterParams& operator=(::ScatterParams
const&);
165 MCAPI ::ScatterParams::ScatteredPositions
170 MCAPI ~ScatterParams();
176 MCFOLD
static void _parseExpressionNodeFloat(
178 ::std::string
const& expression,