36 enum class NeedsMolang :
int {
45 ::ll::TypedStorage<8, 16, ::ExpressionNode> mChancePercent;
46 ::ll::TypedStorage<4, 4, int> mNumerator;
47 ::ll::TypedStorage<4, 4, int> mDenominator;
55 ::ll::TypedStorage<8, 16, ::ExpressionNode> mMinOrSingleValue;
56 ::ll::TypedStorage<8, 16, ::ExpressionNode> mMax;
57 ::ll::TypedStorage<4, 4, uint> mGridStepSize;
58 ::ll::TypedStorage<4, 4, uint> mGridOffset;
59 ::ll::TypedStorage<4, 4, ::SharedTypes::v1_21_10::RandomDistributionType> mDistribution;
60 ::ll::TypedStorage<4, 12, ::std::optional<::IntRange>> mFastPathRange;
66 MCNAPI
int _eval(
int evaluatedMin,
int evaluatedMax, uint& stepIndex,
::Random& random)
const;
78 class ScatteredPositions {
82 ::ll::TypedStorage<8, 8, ::RenderParams&> mMolangParams;
83 ::ll::TypedStorage<8, 8, ::Random&> mRandom;
84 ::ll::TypedStorage<8, 8, ::ScatterParams const&> mScatterParams;
85 ::ll::TypedStorage<4, 12, ::BlockPos> mOrigin;
86 ::ll::TypedStorage<4, 4, uint> mIterations;
91 ScatteredPositions& operator=(ScatteredPositions
const&);
92 ScatteredPositions(ScatteredPositions
const&);
99 ::ll::TypedStorage<8, 168, ::ScatterParams::CoordinateRange[3]> mCoordinateRanges;
100 ::ll::TypedStorage<4, 4, ::SharedTypes::v1_21_10::CoordinateEvaluationOrder> mEvalOrder;
101 ::ll::TypedStorage<8, 24, ::ScatterParams::ChanceInformation> mScatterChance;
102 ::ll::TypedStorage<8, 16, ::ExpressionNode> mIterations;
107 ScatterParams& operator=(ScatterParams
const&);
113 MCAPI ScatterParams(::ScatterParams&&);
115 MCAPI ScatterParams(::ScatterParams
const&);
117 MCAPI
void fillFromData(
119 ::MolangVersion molangVersion,
125 MCAPI ::ScatterParams::ScatteredPositions
130 MCAPI ~ScatterParams();
136 MCAPI
static void _fillCoordinateRangeFromData(
137 ::std::string
const& coordinateName,
140 ::MolangVersion
const& molangVersion,
144 MCAPI
static void _parseExpressionNodeFloat(
146 ::std::string
const& expression,
153 MCAPI
static void initScatterParamIndices();
159 MCAPI
void* $ctor(::ScatterParams&&);
161 MCAPI
void* $ctor(::ScatterParams
const&);