LeviLamina
Loading...
Searching...
No Matches
ConditionalListFeature.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/game_refs/WeakRef.h"
7
#include "mc/util/molang/ExpressionNode.h"
8
#include "mc/world/level/levelgen/feature/IFeature.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
BlockPos
;
13
// clang-format on
14
15
class
ConditionalListFeature
:
public
::IFeature
{
16
public
:
17
// ConditionalListFeature inner types declare
18
// clang-format off
19
struct
FeatureExpressionNodePair
;
20
// clang-format on
21
22
// ConditionalListFeature inner types define
23
enum class
EarlyOutScheme :
int
{
24
ConditionSuccess = 0,
25
PlacementSuccess = 1,
26
};
27
28
struct
FeatureExpressionNodePair
{
29
public
:
30
// member variables
31
// NOLINTBEGIN
32
::ll::TypedStorage<8, 24, ::WeakRef<::IFeature>> mFeatureRef;
33
::ll::TypedStorage<8, 16, ::ExpressionNode> mExpressionNode;
34
// NOLINTEND
35
};
36
37
public
:
38
// member variables
39
// NOLINTBEGIN
40
::ll::TypedStorage<8, 24, ::std::vector<::ConditionalListFeature::FeatureExpressionNodePair>> mFeatureCollection;
41
::ll::TypedStorage<4, 4, ::ConditionalListFeature::EarlyOutScheme> mEarlyOutScheme;
42
// NOLINTEND
43
44
public
:
45
// virtual functions
46
// NOLINTBEGIN
47
// vIndex: 0
48
virtual
~ConditionalListFeature
()
/*override*/
=
default
;
49
50
// vIndex: 1
51
virtual ::std::optional<::BlockPos> place(
::IFeature::PlacementContext
const
&
context
)
const
/*override*/
;
52
// NOLINTEND
53
54
public
:
55
// virtual function thunks
56
// NOLINTBEGIN
57
MCAPI ::std::optional<::BlockPos> $place(
::IFeature::PlacementContext
const
&
context
)
const
;
58
// NOLINTEND
59
60
public
:
61
// vftables
62
// NOLINTBEGIN
63
MCNAPI
static
void
**
$vftable
();
64
// NOLINTEND
65
};
BlockPos
Definition
BlockPos.h:17
ConditionalListFeature
Definition
ConditionalListFeature.h:15
ConditionalListFeature::$vftable
static MCAPI void ** $vftable()
IFeature
Definition
IFeature.h:18
ConditionalListFeature::FeatureExpressionNodePair
Definition
ConditionalListFeature.h:28
IFeature::PlacementContext
Definition
IFeature.h:26
context
Definition
context.h:5
src-server
mc
world
level
levelgen
feature
ConditionalListFeature.h
Generated on Tue Oct 28 2025 05:32:43 for LeviLamina by
1.12.0