LeviLamina
Loading...
Searching...
No Matches
SurfaceMaterialAdjustmentAttributes.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/molang/ExpressionNode.h"
7#include "mc/util/molang/ExpressionOp.h"
8#include "mc/world/level/biome/components/BiomeComponentBase.h"
9#include "mc/world/level/biome/components/SurfaceMaterialAttributes.h"
10
11// auto generated forward declare list
12// clang-format off
13class BlockPos;
15class RenderParams;
17// clang-format on
18
20public:
21 // SurfaceMaterialAdjustmentAttributes inner types declare
22 // clang-format off
23 struct Element;
24 // clang-format on
25
26 // SurfaceMaterialAdjustmentAttributes inner types define
27 struct Element {
28 public:
29 // member variables
30 // NOLINTBEGIN
31 ::ll::TypedStorage<4, 4, float> mNoiseFreqScale;
32 ::ll::TypedStorage<4, 4, float> mNoiseLowerBound;
33 ::ll::TypedStorage<4, 4, float> mNoiseUpperBound;
34 ::ll::TypedStorage<8, 16, ::ExpressionNode> mHeightMin;
35 ::ll::TypedStorage<8, 16, ::ExpressionNode> mHeightMax;
36 ::ll::TypedStorage<8, 56, ::SurfaceMaterialAttributes> mAdjustedMaterials;
37 // NOLINTEND
38
39 public:
40 // member functions
41 // NOLINTBEGIN
42 MCAPI ~Element();
43 // NOLINTEND
44
45 public:
46 // destructor thunk
47 // NOLINTBEGIN
48 MCAPI void $dtor();
49 // NOLINTEND
50 };
51
52public:
53 // member variables
54 // NOLINTBEGIN
55 ::ll::TypedStorage<8, 24, ::std::vector<::SurfaceMaterialAdjustmentAttributes::Element>> mAdjustments;
56 // NOLINTEND
57
58public:
59 // member functions
60 // NOLINTBEGIN
61 MCAPI ::SurfaceMaterialAdjustmentEvaluated evaluateAdjustments(
62 ::RenderParams& molangParams,
63 ::gsl::not_null<::PerlinSimplexNoise*> noise,
64 ::BlockPos const& pos,
65 int heightMin,
66 int heightMax
67 ) const;
68 // NOLINTEND
69
70public:
71 // static functions
72 // NOLINTBEGIN
73 MCFOLD static void
74 parseExpressionNodeFloat(::ExpressionOp op, ::std::string const& data, ::ExpressionNode& node, float defaultValue);
75 // NOLINTEND
76
77public:
78 // vftables
79 // NOLINTBEGIN
80 MCNAPI static void** $vftable();
81 // NOLINTEND
82};
Definition BlockPos.h:21
Definition ExpressionNode.h:36
Definition PerlinSimplexNoise.h:13
Definition RenderParams.h:30
Definition BiomeComponentBase.h:5
Definition SurfaceMaterialAdjustmentAttributes.h:27
Definition SurfaceMaterialAdjustmentAttributes.h:19
static MCAPI void ** $vftable()
Definition SurfaceMaterialAdjustmentEvaluated.h:8