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, 184, ::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,
37 ::Random& random,
38 ::RenderParams& renderParams,
39 ::TreeHelper::TreeParams const& treeParams,
40 ::std::vector<::BlockPos> const& attachmentPositions
41 ) const /*override*/;
42 // NOLINTEND
43
44public:
45 // virtual function thunks
46 // NOLINTBEGIN
47 MCAPI ::std::optional<::BlockPos> $placeCanopy(
48 ::IBlockWorldGenAPI& target,
49 ::BlockPos const& pos,
50 ::Random& random,
51 ::RenderParams& renderParams,
52 ::TreeHelper::TreeParams const& treeParams,
53 ::std::vector<::BlockPos> const& attachmentPositions
54 ) const;
55
56
57 // NOLINTEND
58
59public:
60 // vftables
61 // NOLINTBEGIN
62 MCNAPI static void** $vftable();
63 // NOLINTEND
64};
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 TreeParams.h:14