Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
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
10
class
IBlockWorldGenAPI
;
11
class
Random
;
12
class
RenderParams
;
13
namespace
TreeHelper {
struct
TreeParams
; }
14
// clang-format on
15
16
class
ITreeCanopy
{
17
public
:
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
34
struct
AttachmentInfo
{
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
44
public
:
45
// virtual functions
46
// NOLINTBEGIN
47
virtual
~ITreeCanopy
() =
default
;
48
49
virtual ::std::optional<::BlockPos> placeCanopy(
50
::IBlockWorldGenAPI
&,
51
::BlockPos
const
&,
52
::ITreeCanopy::BranchSize
const
&,
53
::Random
&,
54
::RenderParams
&,
55
::TreeHelper::TreeParams
const
&,
56
int
,
57
::std::vector<::ITreeCanopy::AttachmentInfo>
const
&
58
)
const
= 0;
59
// NOLINTEND
60
};
BlockPos
Definition
BlockPos.h:14
IBlockWorldGenAPI
Definition
IBlockWorldGenAPI.h:25
ITreeCanopy
Definition
ITreeCanopy.h:16
Random
Definition
Random.h:10
RenderParams
Definition
RenderParams.h:29
ITreeCanopy::AttachmentInfo
Definition
ITreeCanopy.h:34
ITreeCanopy::BranchSize
Definition
ITreeCanopy.h:25
TreeHelper::TreeParams
Definition
TreeParams.h:17
src
mc
world
level
levelgen
feature
helpers
ITreeCanopy.h
Generated on
for LeviLamina by
1.16.1