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
// vIndex: 0
31
virtual
~ITreeFeature
()
/*override*/
=
default
;
32
33
// vIndex: 1
34
virtual ::std::optional<::BlockPos> place(
::IFeature::PlacementContext
const
&)
const
= 0;
35
// NOLINTEND
36
37
public
:
38
// member functions
39
// NOLINTBEGIN
40
MCAPI ::std::optional<::BlockPos> _place(
::IFeature::PlacementContext
const
&
context
)
const
;
41
// NOLINTEND
42
43
public
:
44
// virtual function thunks
45
// NOLINTBEGIN
46
47
// NOLINTEND
48
};
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-server
mc
world
level
levelgen
feature
ITreeFeature.h
Generated on Tue Oct 28 2025 05:32:43 for LeviLamina by
1.12.0