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