LeviLamina
Loading...
Searching...
No Matches
BlockIntersectionConstraint.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
BlockDescriptor
;
12
class
BlockPos
;
13
class
IBlockWorldGenAPI
;
14
class
StructureTemplate
;
15
// clang-format on
16
17
class
BlockIntersectionConstraint
:
public
::IStructureConstraint
{
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::TypedStorage<8, 24, ::std::vector<::BlockPos>> mVolumeOffsets;
22
::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mBlockDescriptorAllowlist;
23
// NOLINTEND
24
25
public
:
26
// prevent constructor by default
27
BlockIntersectionConstraint
();
28
29
public
:
30
// virtual functions
31
// NOLINTBEGIN
32
// vIndex: 0
33
virtual
~BlockIntersectionConstraint
()
/*override*/
=
default
;
34
35
// vIndex: 1
36
virtual
bool
37
isSatisfied(
::IBlockWorldGenAPI
const
& target,
::BlockPos
const
& structurePos, ::Rotation
const
& structureRot)
const
38
/*override*/
;
39
// NOLINTEND
40
41
public
:
42
// member functions
43
// NOLINTBEGIN
44
MCAPI
explicit
BlockIntersectionConstraint
(
::StructureTemplate
& structure);
45
// NOLINTEND
46
47
public
:
48
// constructor thunks
49
// NOLINTBEGIN
50
MCAPI
void
* $ctor(
::StructureTemplate
& structure);
51
// NOLINTEND
52
53
public
:
54
// virtual function thunks
55
// NOLINTBEGIN
56
MCAPI
bool
$isSatisfied(
57
::IBlockWorldGenAPI
const
& target,
58
::BlockPos
const
& structurePos,
59
::Rotation
const
& structureRot
60
)
const
;
61
// NOLINTEND
62
63
public
:
64
// vftables
65
// NOLINTBEGIN
66
MCNAPI
static
void
**
$vftable
();
67
// NOLINTEND
68
};
BlockDescriptor
Definition
BlockDescriptor.h:20
BlockIntersectionConstraint
Definition
BlockIntersectionConstraint.h:17
BlockIntersectionConstraint::$vftable
static MCAPI void ** $vftable()
BlockPos
Definition
BlockPos.h:17
IBlockWorldGenAPI
Definition
IBlockWorldGenAPI.h:25
IStructureConstraint
Definition
IStructureConstraint.h:14
StructureTemplate
Definition
StructureTemplate.h:32
src-server
mc
world
level
levelgen
structure
constraints
BlockIntersectionConstraint.h
Generated on Tue Oct 28 2025 05:32:43 for LeviLamina by
1.12.0