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 // virtual functions
60 // NOLINTBEGIN
61 // vIndex: 0
62 virtual ~SurfaceMaterialAdjustmentAttributes() /*override*/ = default;
63 // NOLINTEND
64
65public:
66 // member functions
67 // NOLINTBEGIN
68 MCAPI ::SurfaceMaterialAdjustmentEvaluated evaluateAdjustments(
69 ::RenderParams& molangParams,
70 ::gsl::not_null<::PerlinSimplexNoise*> noise,
71 ::BlockPos const& pos,
72 int heightMin,
73 int heightMax
74 ) const;
75 // NOLINTEND
76
77public:
78 // static functions
79 // NOLINTBEGIN
80 MCFOLD static void
81 parseExpressionNodeFloat(::ExpressionOp op, ::std::string const& data, ::ExpressionNode& node, float defaultValue);
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCNAPI static void** $vftable();
88 // NOLINTEND
89};
Definition BlockPos.h:17
Definition ExpressionNode.h:28
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