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
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
28
29public:
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
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI explicit BlockIntersectionConstraint(::StructureTemplate& structure);
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCAPI void* $ctor(::StructureTemplate& structure);
51 // NOLINTEND
52
53public:
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
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCNAPI static void** $vftable();
67 // NOLINTEND
68};
Definition BlockDescriptor.h:20
Definition BlockIntersectionConstraint.h:17
static MCAPI void ** $vftable()
Definition BlockPos.h:17
Definition IBlockWorldGenAPI.h:25
Definition IStructureConstraint.h:14
Definition StructureTemplate.h:32