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, 176, ::BlockDescriptor> mLeafBlockDescriptor;
30 ::ll::TypedStorage<8, 224, ::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,
43 ::Random& random,
46 ::std::vector<::BlockPos> const&,
47 ::std::vector<::ITreeCanopy::BranchSize> const&
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,
58 ::Random& random,
61 ::std::vector<::BlockPos> const&,
62 ::std::vector<::ITreeCanopy::BranchSize> const&
63 ) const;
64
65
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
71 MCNAPI static void** $vftable();
72 // NOLINTEND
73};
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 ITreeCanopy.h:22
Definition TreeParams.h:14