LeviLamina
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
&)
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
41
public
:
42
// virtual function thunks
43
// NOLINTBEGIN
44
45
// NOLINTEND
46
};
BlockPos
Definition
BlockPos.h:19
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