LeviLamina
Loading...
Searching...
No Matches
MangroveTreeCanopy.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/ChanceInformation.h"
7#include "mc/util/IntRange.h"
8#include "mc/world/level/block/BlockDescriptor.h"
9#include "mc/world/level/levelgen/feature/helpers/ITreeCanopy.h"
10#include "mc/world/level/levelgen/feature/helpers/tree_helper/AttachableDecoration.h"
11
12// auto generated forward declare list
13// clang-format off
14class BlockPos;
16class Random;
17class RenderParams;
18namespace TreeHelper { struct TreeParams; }
19// clang-format on
20
22public:
23 // MangroveTreeCanopy inner types declare
24 // clang-format off
26 // clang-format on
27
28 // MangroveTreeCanopy inner types define
30 public:
31 // member variables
32 // NOLINTBEGIN
33 ::ll::TypedStorage<8, 184, ::BlockDescriptor> mBlockDescriptor;
34 ::ll::TypedStorage<4, 4, float> mWeight;
35 // NOLINTEND
36
37 public:
38 // member functions
39 // NOLINTBEGIN
41 // NOLINTEND
42
43 public:
44 // destructor thunk
45 // NOLINTBEGIN
46 MCFOLD void $dtor();
47 // NOLINTEND
48 };
49
50public:
51 // member variables
52 // NOLINTBEGIN
53 ::ll::TypedStorage<4, 4, int> mMinOffset;
54 ::ll::TypedStorage<4, 4, int> mMaxOffset;
55 ::ll::TypedStorage<4, 4, int> mMinWidth;
56 ::ll::TypedStorage<4, 4, float> mRiseInv;
57 ::ll::TypedStorage<4, 4, int> mRun;
58 ::ll::TypedStorage<4, 8, ::IntRange> mCanopyHeight;
59 ::ll::TypedStorage<4, 8, ::IntRange> mCanopyRadius;
60 ::ll::TypedStorage<4, 4, int> mLeafPlacementAttempts;
61 ::ll::TypedStorage<8, 24, ::std::vector<::MangroveTreeCanopy::WeightedBlockReference>> mLeavesBlockDescriptors;
62 ::ll::TypedStorage<8, 208, ::TreeHelper::AttachableDecoration> mCanopyDecoration;
63 ::ll::TypedStorage<8, 184, ::BlockDescriptor> mHangingBlockDescriptor;
64 ::ll::TypedStorage<4, 12, ::ChanceInformation> mHangingBlockPlacementChance;
65 ::ll::TypedStorage<4, 4, int> mRequiredEmptyBlocks;
66 ::ll::TypedStorage<4, 4, int> mExclusionRadiusXZ;
67 ::ll::TypedStorage<4, 4, int> mExclusionRadiusY;
68 // NOLINTEND
69
70public:
71 // virtual functions
72 // NOLINTBEGIN
73 // vIndex: 0
74 virtual ~MangroveTreeCanopy() /*override*/ = default;
75
76 // vIndex: 1
77 virtual ::std::optional<::BlockPos> placeCanopy(
78 ::IBlockWorldGenAPI& target,
79 ::BlockPos const&,
80 ::Random& random,
82 ::TreeHelper::TreeParams const& treeParams,
83 ::std::vector<::BlockPos> const& attachmentPositions
84 ) const /*override*/;
85 // NOLINTEND
86
87public:
88 // virtual function thunks
89 // NOLINTBEGIN
90 MCAPI ::std::optional<::BlockPos> $placeCanopy(
91 ::IBlockWorldGenAPI& target,
92 ::BlockPos const&,
93 ::Random& random,
95 ::TreeHelper::TreeParams const& treeParams,
96 ::std::vector<::BlockPos> const& attachmentPositions
97 ) const;
98 // NOLINTEND
99
100public:
101 // vftables
102 // NOLINTBEGIN
103 MCNAPI static void** $vftable();
104 // NOLINTEND
105};
Definition BlockPos.h:17
Definition IBlockWorldGenAPI.h:25
Definition ITreeCanopy.h:14
Definition MangroveTreeCanopy.h:21
static MCAPI void ** $vftable()
Definition Random.h:10
Definition RenderParams.h:30
Definition MangroveTreeCanopy.h:29
Definition TreeParams.h:14