LeviLamina
Loading...
Searching...
No Matches
MegaTreeCanopy.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/IntRange.h"
7#include "mc/world/level/block/BlockDescriptor.h"
8#include "mc/world/level/levelgen/feature/helpers/ITreeCanopy.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockPos;
14class Random;
15class RenderParams;
16namespace TreeHelper { struct TreeParams; }
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<4, 8, ::IntRange> mHeight;
24 ::ll::TypedStorage<4, 4, int> mRadius;
25 ::ll::TypedStorage<4, 4, int> mCoreWidth;
26 ::ll::TypedStorage<1, 1, bool> mUseParsedCoreWidth;
27 ::ll::TypedStorage<1, 1, bool> mIsSimplified;
28 ::ll::TypedStorage<8, 176, ::BlockDescriptor> mLeavesBlockDescriptor;
29 // NOLINTEND
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ~MegaTreeCanopy() /*override*/ = default;
35
36 virtual ::std::optional<::BlockPos> placeCanopy(
37 ::IBlockWorldGenAPI& target,
38 ::BlockPos const& pos,
39 ::ITreeCanopy::BranchSize const& trunkSize,
40 ::Random& random,
42 ::TreeHelper::TreeParams const& treeParams,
43 ::std::vector<::BlockPos> const&,
44 ::std::vector<::ITreeCanopy::BranchSize> const&
45 ) const /*override*/;
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
51 MCAPI ::std::optional<::BlockPos> $placeCanopy(
52 ::IBlockWorldGenAPI& target,
53 ::BlockPos const& pos,
54 ::ITreeCanopy::BranchSize const& trunkSize,
55 ::Random& random,
57 ::TreeHelper::TreeParams const& treeParams,
58 ::std::vector<::BlockPos> const&,
59 ::std::vector<::ITreeCanopy::BranchSize> const&
60 ) const;
61
62
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCNAPI static void** $vftable();
69 // NOLINTEND
70};
Definition BlockPos.h:19
Definition IBlockWorldGenAPI.h:25
Definition ITreeCanopy.h:14
Definition MegaTreeCanopy.h:19
static MCAPI void ** $vftable()
Definition Random.h:10
Definition RenderParams.h:30
Definition ITreeCanopy.h:22
Definition TreeParams.h:14