Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ITreeCanopy.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/BlockPos.h"
7
8// auto generated forward declare list
9// clang-format off
11class Random;
12class RenderParams;
13namespace TreeHelper { struct TreeParams; }
14// clang-format on
15
17public:
18 // ITreeCanopy inner types declare
19 // clang-format off
20 struct BranchSize;
21 struct AttachmentInfo;
22 // clang-format on
23
24 // ITreeCanopy inner types define
25 struct BranchSize {
26 public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<4, 4, int> sizeX;
30 ::ll::TypedStorage<4, 4, int> sizeZ;
31 // NOLINTEND
32 };
33
35 public:
36 // member variables
37 // NOLINTBEGIN
38 ::ll::TypedStorage<4, 12, ::BlockPos const> attachmentPos;
39 ::ll::TypedStorage<4, 8, ::ITreeCanopy::BranchSize const> attachmentSize;
40 ::ll::TypedStorage<4, 4, int const> attachmentHeight;
41 // NOLINTEND
42 };
43
44public:
45 // virtual functions
46 // NOLINTBEGIN
47 virtual ~ITreeCanopy() = default;
48
49 virtual ::std::optional<::BlockPos> placeCanopy(
51 ::BlockPos const&,
53 ::Random&,
56 int,
57 ::std::vector<::ITreeCanopy::AttachmentInfo> const&
58 ) const = 0;
59 // NOLINTEND
60};
Definition BlockPos.h:14
Definition IBlockWorldGenAPI.h:25
Definition ITreeCanopy.h:16
Definition Random.h:10
Definition RenderParams.h:29
Definition ITreeCanopy.h:34
Definition ITreeCanopy.h:25
Definition TreeParams.h:17