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&);
98 ::ll::TypedStorage<8, 168, ::ScatterParams::CoordinateRange[3]> mCoordinateRanges;
99 ::ll::TypedStorage<4, 4, ::SharedTypes::v1_21_10::CoordinateEvaluationOrder> mEvalOrder;
100 ::ll::TypedStorage<8, 24, ::ScatterParams::ChanceInformation> mScatterChance;
101 ::ll::TypedStorage<8, 16, ::ExpressionNode> mIterations;
106 ScatterParams& operator=(ScatterParams
const&);
112 MCAPI ScatterParams(::ScatterParams&&);
114 MCAPI ScatterParams(::ScatterParams
const&);
116 MCAPI
void fillFromData(
118 ::MolangVersion molangVersion,
124 MCAPI ::ScatterParams::ScatteredPositions
129 MCAPI ~ScatterParams();
135 MCAPI
static void _fillCoordinateRangeFromData(
136 ::std::string
const& coordinateName,
139 ::MolangVersion
const& molangVersion,
143 MCAPI
static void _parseExpressionNodeFloat(
145 ::std::string
const& expression,
152 MCAPI
static void initScatterParamIndices();
158 MCAPI
void* $ctor(::ScatterParams&&);
160 MCAPI
void* $ctor(::ScatterParams
const&);