LeviLamina
Loading...
Searching...
No Matches
LegacyJigsawPlacement.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/Rotation.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11class BlockVolume;
12class BoundingBox;
13class Dimension;
14class JigsawBlockInfo;
17class Random;
18class StructurePiece;
21struct JigsawJunction;
22// clang-format on
23
25public:
26 // member variables
27 // NOLINTBEGIN
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCAPI void _addPiece(
43 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
44 ::PoolElementStructurePiece const& sourcePiece,
45 ::Random& random,
46 ::BlockPos const& position,
47 ::Rotation const& rotation,
48 ::JigsawStructureRegistry const& pools,
49 ::Dimension& dimension,
50 ::BlockVolume& box,
51 ::BlockPos const& refPos
52 );
53
54 MCAPI bool _tryPlacingPiece(
55 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
56 ::PoolElementStructurePiece const& sourcePiece,
57 ::Random& random,
58 ::JigsawBlockInfo const& sourceJigsaw,
59 ::BoundingBox const& sourceBB,
60 ::std::vector<::BoundingBox>& sourceInternalBBs,
61 ::BlockPos const& attachPos,
62 ::StructureTemplatePool const* targetPool,
63 ::JigsawStructureRegistry const& pools,
64 ::Dimension& dimension,
65 ::BlockVolume& box,
66 ::BlockPos const& refPos
67 );
68
69 MCAPI void addPieces(
70 ::std::vector<::std::unique_ptr<::StructurePiece>>& pieces,
71 ::StructurePoolElement const& initialElement,
72 ::Random& random,
73 ::BlockPos const& position,
74 ::Rotation const& rotation,
75 ::JigsawStructureRegistry const& pools,
76 ::Dimension& dimension
77 );
78
80 // NOLINTEND
81
82public:
83 // destructor thunk
84 // NOLINTBEGIN
85 MCAPI void $dtor();
86 // NOLINTEND
87};
Definition BlockPos.h:18
Definition BlockVolume.h:11
Definition BoundingBox.h:18
Definition Dimension.h:83
Definition JigsawBlockInfo.h:12
Definition JigsawStructureRegistry.h:21
Definition LegacyJigsawPlacement.h:24
Definition PoolElementStructurePiece.h:25
Definition Random.h:16
Definition StructurePiece.h:18
Definition StructurePoolElement.h:35
Definition StructureTemplatePool.h:16
Definition JigsawJunction.h:5
Definition Alias.h:14