LeviLamina
Loading...
Searching...
No Matches
SpruceTreeCanopy.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> mLowerOffset;
24 ::ll::TypedStorage<4, 8, ::IntRange> mUpperOffset;
25 ::ll::TypedStorage<4, 8, ::IntRange> mRadius;
26 ::ll::TypedStorage<8, 176, ::BlockDescriptor> mLeafBlockDescriptor;
27 // NOLINTEND
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ~SpruceTreeCanopy() /*override*/ = default;
33
34 virtual ::std::optional<::BlockPos> placeCanopy(
35 ::IBlockWorldGenAPI& target,
36 ::BlockPos const& pos,
38 ::Random& random,
40 ::TreeHelper::TreeParams const& treeParams,
41 ::std::vector<::BlockPos> const&,
42 ::std::vector<::ITreeCanopy::BranchSize> const&
43 ) const /*override*/;
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCAPI ::std::optional<::BlockPos> $placeCanopy(
50 ::IBlockWorldGenAPI& target,
51 ::BlockPos const& pos,
53 ::Random& random,
55 ::TreeHelper::TreeParams const& treeParams,
56 ::std::vector<::BlockPos> const&,
57 ::std::vector<::ITreeCanopy::BranchSize> const&
58 ) const;
59
60
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCNAPI static void** $vftable();
67 // NOLINTEND
68};
Definition BlockPos.h:19
Definition IBlockWorldGenAPI.h:25
Definition ITreeCanopy.h:14
Definition Random.h:10
Definition RenderParams.h:30
Definition SpruceTreeCanopy.h:19
static MCAPI void ** $vftable()
Definition ITreeCanopy.h:22
Definition TreeParams.h:14