LeviLamina
Loading...
Searching...
No Matches
CommandAreaFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class BlockPos;
8class CommandArea;
9class Dimension;
10struct Bounds;
11// clang-format on
12
13class CommandAreaFactory {
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<8, 8, ::Dimension&> mDimension;
18 // NOLINTEND
19
20public:
21 // prevent constructor by default
22 CommandAreaFactory& operator=(CommandAreaFactory const&);
23 CommandAreaFactory(CommandAreaFactory const&);
24 CommandAreaFactory();
25
26public:
27 // member functions
28 // NOLINTBEGIN
29 MCAPI ::std::unique_ptr<::CommandArea> _getArea(
30 ::Bounds const& requiredArea,
31 bool allowNonTickingPlayerAndTickingAreaChunks,
32 bool allowUnloadedChunks,
33 bool allowPlayerChunks
34 ) const;
35
36 MCAPI ::std::unique_ptr<::CommandArea> _getNewCommandArea(::Bounds const& requiredArea) const;
37
38 MCAPI ::std::unique_ptr<::CommandArea> findAreaWithBuffer(
39 ::BlockPos const& min,
40 ::BlockPos const& max,
41 int commandVersion,
42 bool allowUnloadedChunks,
43 bool allowPlayerChunks
44 ) const;
45 // NOLINTEND
46};
Definition BlockPos.h:17
Definition CommandArea.h:10
Definition Dimension.h:86
Definition Bounds.h:8