LeviLamina
Loading...
Searching...
No Matches
CloneCommand.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/Command.h"
7#include "mc/server/commands/CommandBlockName.h"
8#include "mc/server/commands/CommandPosition.h"
9#include "mc/world/level/clone_blocks_utils/CloneMode.h"
10#include "mc/world/level/clone_blocks_utils/MaskMode.h"
11
12// auto generated forward declare list
13// clang-format off
15class CommandOrigin;
16class CommandOutput;
17class CommandRegistry;
18// clang-format on
19
20class CloneCommand : public ::Command {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<4, 16, ::CommandPosition> mBegin;
25 ::ll::TypedStorage<4, 16, ::CommandPosition> mEnd;
26 ::ll::TypedStorage<4, 16, ::CommandPosition> mDestination;
27 ::ll::TypedStorage<4, 4, ::CloneBlocksUtils::MaskMode> mMaskMode;
28 ::ll::TypedStorage<4, 4, ::CloneBlocksUtils::CloneMode> mCloneMode;
29 ::ll::TypedStorage<8, 8, ::CommandBlockName> mBlock;
30 ::ll::TypedStorage<8, 24, ::std::vector<::BlockStateCommandParam>> mBlockStates;
31 ::ll::TypedStorage<4, 4, int> mData;
32 // NOLINTEND
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
38 // NOLINTEND
39
40public:
41 // static functions
42 // NOLINTBEGIN
43 MCAPI static void setup(::CommandRegistry& registry);
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
50
51
52 // NOLINTEND
53};
Definition BlockStateCommandParam.h:15
Definition CloneCommand.h:20
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:51
Definition Command.h:17