Skip to content
LeviMC
English
AutoLightDark
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, 176, ::BlockDescriptor> mLeavesBlockDescriptor;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ~PineTreeCanopy() /*override*/ = default;
32
33 virtual ::std::optional<::BlockPos> placeCanopy(
34 ::IBlockWorldGenAPI& target,
35 ::BlockPos const& pos,
36 ::ITreeCanopy::BranchSize const& trunkSize,
37 ::Random& random,
39 ::TreeHelper::TreeParams const& treeParams,
40 int,
41 ::std::vector<::ITreeCanopy::AttachmentInfo> const&
42 ) const /*override*/;
43 // NOLINTEND
44
45public:
46 // virtual function thunks
47 // NOLINTBEGIN
48 MCNAPI ::std::optional<::BlockPos> $placeCanopy(
49 ::IBlockWorldGenAPI& target,
50 ::BlockPos const& pos,
51 ::ITreeCanopy::BranchSize const& trunkSize,
52 ::Random& random,
54 ::TreeHelper::TreeParams const& treeParams,
55 int,
56 ::std::vector<::ITreeCanopy::AttachmentInfo> const&
57 ) const;
58
59
60 // NOLINTEND
61};
Definition BlockPos.h:14
Definition IBlockWorldGenAPI.h:25
Definition ITreeCanopy.h:16
Definition PineTreeCanopy.h:19
MCAPI ::std::optional<::BlockPos > $placeCanopy(::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::ITreeCanopy::BranchSize const &trunkSize, ::Random &random, ::RenderParams &, ::TreeHelper::TreeParams const &treeParams, int, ::std::vector<::ITreeCanopy::AttachmentInfo > const &) const
Definition Random.h:10
Definition RenderParams.h:29
Definition ITreeCanopy.h:25
Definition TreeParams.h:17