LeviLamina
Loading...
Searching...
No Matches
SingleBlockFeature.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
8
// auto generated forward declare list
9
// clang-format off
10
class
Block
;
11
class
BlockDescriptor
;
12
class
BlockPos
;
13
class
IBlockWorldGenAPI
;
14
// clang-format on
15
16
class
SingleBlockFeature
:
public
::IFeature
{
17
public
:
18
// SingleBlockFeature inner types declare
19
// clang-format off
20
struct
WeightedBlockDescriptor
;
21
// clang-format on
22
23
// SingleBlockFeature inner types define
24
enum class
CheckDirection : uchar {
25
Top = 0,
26
Bottom = 1,
27
North = 2,
28
East = 3,
29
South = 4,
30
West = 5,
31
All = 6,
32
Sides = 7,
33
Diagonal = 8,
34
Count = 9,
35
};
36
37
enum class
AttachCondition : uchar {
38
MayAttachTo = 0,
39
MayNotAttachTo = 1,
40
};
41
42
struct
WeightedBlockDescriptor
{
43
public
:
44
// member variables
45
// NOLINTBEGIN
46
::ll::UntypedStorage<8, 184>
mUnk32ff74;
47
::ll::UntypedStorage<4, 4>
mUnkb978f3;
48
// NOLINTEND
49
50
public
:
51
// prevent constructor by default
52
WeightedBlockDescriptor
& operator=(
WeightedBlockDescriptor
const
&);
53
WeightedBlockDescriptor
(
WeightedBlockDescriptor
const
&);
54
WeightedBlockDescriptor
();
55
56
public
:
57
// member functions
58
// NOLINTBEGIN
59
MCAPI
~WeightedBlockDescriptor
();
60
// NOLINTEND
61
62
public
:
63
// destructor thunk
64
// NOLINTBEGIN
65
MCFOLD
void
$dtor();
66
// NOLINTEND
67
};
68
69
public
:
70
// member variables
71
// NOLINTBEGIN
72
::ll::UntypedStorage<8, 24>
mUnk555a95;
73
::ll::UntypedStorage<1, 1>
mUnk3fe127;
74
::ll::UntypedStorage<1, 1>
mUnkcbde6a;
75
::ll::UntypedStorage<1, 1>
mUnk59b549;
76
::ll::UntypedStorage<1, 1>
mUnke1aa00;
77
::ll::UntypedStorage<1, 1>
mUnk770dd3;
78
::ll::UntypedStorage<4, 4>
mUnk947893;
79
::ll::UntypedStorage<8, 216>
mUnk1d8d80;
80
::ll::UntypedStorage<8, 216>
mUnk7888e6;
81
::ll::UntypedStorage<8, 24>
mUnke73e15;
82
// NOLINTEND
83
84
public
:
85
// prevent constructor by default
86
SingleBlockFeature
& operator=(
SingleBlockFeature
const
&);
87
SingleBlockFeature
(
SingleBlockFeature
const
&);
88
SingleBlockFeature
();
89
90
public
:
91
// virtual functions
92
// NOLINTBEGIN
93
// vIndex: 0
94
virtual
~SingleBlockFeature
()
/*override*/
;
95
96
// vIndex: 1
97
virtual ::std::optional<::BlockPos> place(
::IFeature::PlacementContext
const
&
context
)
const
/*override*/
;
98
// NOLINTEND
99
100
public
:
101
// member functions
102
// NOLINTBEGIN
103
MCAPI ::Block
const
*
104
_mayAttach(
::BlockDescriptor
const
& blockDescriptor,
::IBlockWorldGenAPI
& target,
::BlockPos
const
& pos)
const
;
105
106
MCAPI
bool
_mayNotAttach(
::IBlockWorldGenAPI
& target,
::BlockPos
const
& pos)
const
;
107
// NOLINTEND
108
109
public
:
110
// destructor thunk
111
// NOLINTBEGIN
112
MCAPI
void
$dtor();
113
// NOLINTEND
114
115
public
:
116
// virtual function thunks
117
// NOLINTBEGIN
118
MCAPI ::std::optional<::BlockPos> $place(
::IFeature::PlacementContext
const
&
context
)
const
;
119
// NOLINTEND
120
121
public
:
122
// vftables
123
// NOLINTBEGIN
124
MCAPI
static
void
** $vftable();
125
// NOLINTEND
126
};
BlockDescriptor
Definition
BlockDescriptor.h:19
BlockPos
Definition
BlockPos.h:18
Block
Definition
Block.h:36
IBlockWorldGenAPI
Definition
IBlockWorldGenAPI.h:25
IFeature
Definition
IFeature.h:13
SingleBlockFeature
Definition
SingleBlockFeature.h:16
IFeature::PlacementContext
Definition
IFeature.h:21
SingleBlockFeature::WeightedBlockDescriptor
Definition
SingleBlockFeature.h:42
context
Definition
context.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
level
levelgen
feature
SingleBlockFeature.h
Generated on Sat Apr 26 2025 05:56:26 for LeviLamina by
1.12.0