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