LeviLamina
Loading...
Searching...
No Matches
PineTreeCanopy.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<8, 184, ::BlockDescriptor> mLeavesBlockDescriptor;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 0
32 virtual ~PineTreeCanopy() /*override*/ = default;
33
34 // vIndex: 1
35 virtual ::std::optional<::BlockPos> placeCanopy(
36 ::IBlockWorldGenAPI& target,
37 ::BlockPos const& pos,
38 ::Random& random,
39 ::RenderParams& renderParams,
40 ::TreeHelper::TreeParams const& treeParams,
41 ::std::vector<::BlockPos> const& attachmentPositions
42 ) const /*override*/;
43 // NOLINTEND
44
45public:
46 // virtual function thunks
47 // NOLINTBEGIN
48 MCAPI ::std::optional<::BlockPos> $placeCanopy(
49 ::IBlockWorldGenAPI& target,
50 ::BlockPos const& pos,
51 ::Random& random,
52 ::RenderParams& renderParams,
53 ::TreeHelper::TreeParams const& treeParams,
54 ::std::vector<::BlockPos> const& attachmentPositions
55 ) const;
56 // NOLINTEND
57
58public:
59 // vftables
60 // NOLINTBEGIN
61 MCNAPI static void** $vftable();
62 // NOLINTEND
63};
Definition BlockPos.h:17
Definition IBlockWorldGenAPI.h:25
Definition ITreeCanopy.h:14
Definition PineTreeCanopy.h:19
static MCAPI void ** $vftable()
Definition Random.h:10
Definition RenderParams.h:30
Definition TreeParams.h:14