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
GroundedConstraint.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/util/Rotation.h"
7
#include "mc/world/level/levelgen/structure/constraints/IStructureConstraint.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
BlockPos
;
12
class
IBlockWorldGenAPI
;
13
class
StructureTemplate
;
14
// clang-format on
15
16
class
GroundedConstraint :
public
::IStructureConstraint
{
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::TypedStorage<8, 24, ::std::vector<::BlockPos>> mFoundationOffsets;
21
// NOLINTEND
22
23
public
:
24
// prevent constructor by default
25
GroundedConstraint();
26
27
public
:
28
// virtual functions
29
// NOLINTBEGIN
30
virtual
~GroundedConstraint()
/*override*/
=
default
;
31
32
virtual
bool
isSatisfied(
33
::IBlockWorldGenAPI
const
& target,
34
::BlockPos
const
& structurePos,
35
::Rotation
const
& structureRot,
36
::BlockPos
const
& centeringOffset
37
)
const
/*override*/
;
38
// NOLINTEND
39
40
public
:
41
// member functions
42
// NOLINTBEGIN
43
MCAPI GroundedConstraint(
::StructureTemplate
& structure,
int
groundLevel);
44
// NOLINTEND
45
46
public
:
47
// constructor thunks
48
// NOLINTBEGIN
49
MCAPI
void
* $ctor(
::StructureTemplate
& structure,
int
groundLevel);
50
// NOLINTEND
51
52
public
:
53
// virtual function thunks
54
// NOLINTBEGIN
55
MCNAPI
bool
$isSatisfied
(
56
::IBlockWorldGenAPI
const
& target,
57
::BlockPos
const
& structurePos,
58
::Rotation
const
& structureRot,
59
::BlockPos
const
& centeringOffset
60
)
const
;
61
62
63
// NOLINTEND
64
};
BlockPos
Definition
BlockPos.h:14
GroundedConstraint::$isSatisfied
MCAPI bool $isSatisfied(::IBlockWorldGenAPI const &target, ::BlockPos const &structurePos, ::Rotation const &structureRot, ::BlockPos const ¢eringOffset) const
IBlockWorldGenAPI
Definition
IBlockWorldGenAPI.h:25
IStructureConstraint
Definition
IStructureConstraint.h:14
StructureTemplate
Definition
StructureTemplate.h:35
src
mc
world
level
levelgen
structure
constraints
GroundedConstraint.h
Generated on
for LeviLamina by
1.16.1