Skip to content
LeviMC
Home
Projects
Docs
4
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
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Español
Русский
Deutsch
日本語
한국어
Français
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
Home
User Guides
Developer Guides
API Reference
Maintainer Guides
Supported Versions
Home
User Guides
Developer Guides
API Reference
Maintainer Guides
Supported Versions
LeviMC
Home
Projects
Docs
4
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
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
Loading...
Searching...
No Matches
ITreeFeature.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/levelgen/feature/IFeature.h"
7
#include "mc/world/level/levelgen/feature/helpers/ITreeCanopyWrapper.h"
8
#include "mc/world/level/levelgen/feature/helpers/ITreeRootWrapper.h"
9
#include "mc/world/level/levelgen/feature/helpers/ITreeTrunkWrapper.h"
10
#include "mc/world/level/levelgen/feature/helpers/tree_helper/TreeParams.h"
11
12
// auto generated forward declare list
13
// clang-format off
14
class
BlockPos
;
15
// clang-format on
16
17
class
ITreeFeature
:
public
::IFeature
{
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::TypedStorage<8, 128, ::TreeHelper::TreeParams> mTreeParams;
22
::ll::TypedStorage<8, 8, ::ITreeTrunkWrapper> mTrunk;
23
::ll::TypedStorage<8, 8, ::ITreeCanopyWrapper> mCanopy;
24
::ll::TypedStorage<8, 8, ::ITreeRootWrapper> mRoots;
25
// NOLINTEND
26
27
public
:
28
// virtual functions
29
// NOLINTBEGIN
30
virtual
~ITreeFeature
()
/*override*/
=
default
;
31
32
virtual ::std::optional<::BlockPos> place(
::IFeature::PlacementContext
const
&
context
)
const
= 0;
33
// NOLINTEND
34
35
public
:
36
// member functions
37
// NOLINTBEGIN
38
MCAPI ::std::optional<::BlockPos> _place(
::IFeature::PlacementContext
const
&
context
)
const
;
39
// NOLINTEND
40
};
BlockPos
Definition
BlockPos.h:17
IFeature
Definition
IFeature.h:18
ITreeFeature
Definition
ITreeFeature.h:17
IFeature::PlacementContext
Definition
IFeature.h:26
context
Definition
context.h:5
src
mc
world
level
levelgen
feature
ITreeFeature.h
Generated on
for LeviLamina by
1.16.1