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 // vIndex: 0
33 virtual ~SpruceTreeCanopy() /*override*/ = default;
34
35 // vIndex: 1
36 virtual ::std::optional<::BlockPos> placeCanopy(
37 ::IBlockWorldGenAPI& target,
38 ::BlockPos const& pos,
39 ::Random& random,
40 ::RenderParams& renderParams,
41 ::TreeHelper::TreeParams const& treeParams,
42 ::std::vector<::BlockPos> const& attachmentPositions
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,
52 ::Random& random,
53 ::RenderParams& renderParams,
54 ::TreeHelper::TreeParams const& treeParams,
55 ::std::vector<::BlockPos> const& attachmentPositions
56 ) const;
57 // NOLINTEND
58
59public:
60 // vftables
61 // NOLINTBEGIN
62 MCNAPI static void** $vftable();
63 // NOLINTEND
64};
Definition BlockPos.h:17
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