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/block/BlockDescriptor.h"
8#include "mc/world/level/levelgen/structure/constraints/IStructureConstraint.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockPos;
15// clang-format on
16
17class BlockIntersectionConstraint : public ::IStructureConstraint {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 24, ::std::vector<::BlockDescriptor>> mBlockDescriptorAllowList;
22 ::ll::TypedStorage<1, 1, bool> mOnlyCheckIntersectionForMotionBlockingBlocks;
23 ::ll::TypedStorage<8, 24, ::std::vector<::BlockPos>> mMotionBlockingVolumeOffsets;
24 ::ll::TypedStorage<8, 24, ::std::vector<::BlockPos>> mNonMotionBlockingVolumeOffsets;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 BlockIntersectionConstraint();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ~BlockIntersectionConstraint() /*override*/;
35
36 virtual bool isSatisfied(
37 ::IBlockWorldGenAPI const& target,
38 ::BlockPos const& structurePos,
39 ::Rotation const& structureRot,
40 ::BlockPos const& centeringOffset
41 ) const /*override*/;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI explicit BlockIntersectionConstraint(::StructureTemplate& structure);
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCAPI void* $ctor(::StructureTemplate& structure);
54 // NOLINTEND
55
56public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCAPI void $dtor();
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCAPI bool $isSatisfied(
66 ::IBlockWorldGenAPI const& target,
67 ::BlockPos const& structurePos,
68 ::Rotation const& structureRot,
69 ::BlockPos const& centeringOffset
70 ) const;
71
72
73 // NOLINTEND
74};
Definition BlockPos.h:17
Definition IBlockWorldGenAPI.h:25
Definition IStructureConstraint.h:14
Definition StructureTemplate.h:34