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
11class BlockDescriptor;
12class BlockPos;
15// clang-format on
16
17class BlockIntersectionConstraint : public ::IStructureConstraint {
18public:
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
25public:
26 // prevent constructor by default
27 BlockIntersectionConstraint();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ~BlockIntersectionConstraint() /*override*/ = default;
33
34 virtual bool
35 isSatisfied(::IBlockWorldGenAPI const& target, ::BlockPos const& structurePos, ::Rotation const& structureRot) const
36 /*override*/;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCAPI explicit BlockIntersectionConstraint(::StructureTemplate& structure);
43 // NOLINTEND
44
45public:
46 // constructor thunks
47 // NOLINTBEGIN
48 MCAPI void* $ctor(::StructureTemplate& structure);
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCAPI bool $isSatisfied(
55 ::IBlockWorldGenAPI const& target,
56 ::BlockPos const& structurePos,
57 ::Rotation const& structureRot
58 ) const;
59
60
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCNAPI static void** $vftable();
67 // NOLINTEND
68};
Definition BlockDescriptor.h:20
static MCAPI void ** $vftable()
Definition BlockPos.h:19
Definition IBlockWorldGenAPI.h:25
Definition IStructureConstraint.h:14
Definition StructureTemplate.h:35