LeviLamina
Loading...
Searching...
No Matches
SimpleTreeTrunk.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/levelgen/feature/helpers/ITreeTrunk.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
BlockPos
;
11
class
IBlockWorldGenAPI
;
12
class
ITreeCanopy
;
13
class
Random
;
14
class
RenderParams
;
15
namespace
TreeHelper {
struct
TreeParams; }
16
// clang-format on
17
18
class
SimpleTreeTrunk
:
public
::ITreeTrunk
{
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::UntypedStorage<4, 4>
mUnk8fa423;
23
::ll::UntypedStorage<4, 8>
mUnk51c143;
24
::ll::UntypedStorage<4, 8>
mUnk3b03ea;
25
::ll::UntypedStorage<8, 184>
mUnk9cbbae;
26
::ll::UntypedStorage<8, 208>
mUnked66e3;
27
// NOLINTEND
28
29
public
:
30
// prevent constructor by default
31
SimpleTreeTrunk
& operator=(
SimpleTreeTrunk
const
&);
32
SimpleTreeTrunk
(
SimpleTreeTrunk
const
&);
33
SimpleTreeTrunk
();
34
35
public
:
36
// virtual functions
37
// NOLINTBEGIN
38
// vIndex: 0
39
virtual
~SimpleTreeTrunk
()
/*override*/
=
default
;
40
41
// vIndex: 2
42
virtual
int
getTreeHeight(
::Random
& random)
const
/*override*/
;
43
44
// vIndex: 1
45
virtual ::std::optional<::BlockPos> placeTrunk(
46
::IBlockWorldGenAPI
& target,
47
::BlockPos
const
& pos,
48
::Random
& random,
49
int
treeHeight,
50
::RenderParams
& renderParams,
51
::TreeHelper::TreeParams
const
& treeParams,
52
::ITreeCanopy
const
* canopy
53
)
const
/*override*/
;
54
// NOLINTEND
55
56
public
:
57
// virtual function thunks
58
// NOLINTBEGIN
59
MCNAPI
int
$getTreeHeight
(
::Random
& random)
const
;
60
61
MCNAPI ::std::optional<::BlockPos>
$placeTrunk
(
62
::IBlockWorldGenAPI
& target,
63
::BlockPos
const
& pos,
64
::Random
& random,
65
int
treeHeight,
66
::RenderParams
& renderParams,
67
::TreeHelper::TreeParams
const
& treeParams,
68
::ITreeCanopy
const
* canopy
69
)
const
;
70
// NOLINTEND
71
72
public
:
73
// vftables
74
// NOLINTBEGIN
75
MCNAPI
static
void
**
$vftable
();
76
// NOLINTEND
77
};
BlockPos
Definition
BlockPos.h:18
IBlockWorldGenAPI
Definition
IBlockWorldGenAPI.h:25
ITreeCanopy
Definition
ITreeCanopy.h:14
ITreeTrunk
Definition
ITreeTrunk.h:15
Random
Definition
Random.h:11
RenderParams
Definition
RenderParams.h:30
SimpleTreeTrunk
Definition
SimpleTreeTrunk.h:18
SimpleTreeTrunk::$placeTrunk
MCAPI ::std::optional<::BlockPos > $placeTrunk(::IBlockWorldGenAPI &target, ::BlockPos const &pos, ::Random &random, int treeHeight, ::RenderParams &renderParams, ::TreeHelper::TreeParams const &treeParams, ::ITreeCanopy const *canopy) const
SimpleTreeTrunk::$getTreeHeight
MCAPI int $getTreeHeight(::Random &random) const
SimpleTreeTrunk::$vftable
static MCAPI void ** $vftable()
TreeHelper::TreeParams
Definition
TreeParams.h:14
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
level
levelgen
feature
helpers
SimpleTreeTrunk.h
Generated on Mon Jun 30 2025 05:54:14 for LeviLamina by
1.12.0