Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
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
None = 2,
27
};
28
29
struct
FeatureExpressionNodePair
{
30
public
:
31
// member variables
32
// NOLINTBEGIN
33
::ll::TypedStorage<8, 24, ::WeakRef<::IFeature>> mFeatureReference;
34
::ll::TypedStorage<8, 16, ::ExpressionNode> mExpressionNode;
35
// NOLINTEND
36
};
37
38
public
:
39
// member variables
40
// NOLINTBEGIN
41
::ll::TypedStorage<8, 24, ::std::vector<::ConditionalListFeature::FeatureExpressionNodePair>> mFeatureCollection;
42
::ll::TypedStorage<4, 4, ::ConditionalListFeature::EarlyOutScheme> mEarlyOutScheme;
43
// NOLINTEND
44
45
public
:
46
// virtual functions
47
// NOLINTBEGIN
48
virtual ::std::optional<::BlockPos> place(
::IFeature::PlacementContext
const
&
context
)
const
/*override*/
;
49
// NOLINTEND
50
51
public
:
52
// virtual function thunks
53
// NOLINTBEGIN
54
MCNAPI ::std::optional<::BlockPos>
$place
(
::IFeature::PlacementContext
const
&
context
)
const
;
55
56
57
// NOLINTEND
58
};
BlockPos
Definition
BlockPos.h:14
ConditionalListFeature
Definition
ConditionalListFeature.h:15
ConditionalListFeature::$place
MCAPI ::std::optional<::BlockPos > $place(::IFeature::PlacementContext const &context) const
IFeature
Definition
IFeature.h:18
ConditionalListFeature::FeatureExpressionNodePair
Definition
ConditionalListFeature.h:29
IFeature::PlacementContext
Definition
IFeature.h:26
context
Definition
context.h:5
src
mc
world
level
levelgen
feature
ConditionalListFeature.h
Generated on
for LeviLamina by
1.16.1