LeviLamina
Loading...
Searching...
No Matches
StructureCommand.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/CommandPosition.h"
8#include "mc/server/commands/standard/StructureActionType.h"
9#include "mc/util/AnimationMode.h"
10#include "mc/util/Mirror.h"
11#include "mc/util/Rotation.h"
12#include "mc/world/level/levelgen/structure/StructureRedstoneSaveMode.h"
13
14// auto generated forward declare list
15// clang-format off
16class BlockPos;
17class CommandOrigin;
18class CommandOutput;
19class CommandRegistry;
20class Level;
22// clang-format on
23
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<4, 4, ::StructureActionType> mAction;
29 ::ll::TypedStorage<1, 1, ::StructureRedstoneSaveMode> mSaveMode;
30 ::ll::TypedStorage<1, 1, ::Rotation> mRotation;
31 ::ll::TypedStorage<1, 1, ::Mirror> mMirror;
32 ::ll::TypedStorage<1, 1, ::AnimationMode> mAnimationMode;
33 ::ll::TypedStorage<4, 4, float> mAnimationTimeSeconds;
34 ::ll::TypedStorage<8, 32, ::std::string> mName;
35 ::ll::TypedStorage<8, 32, ::std::string> mSeed;
36 ::ll::TypedStorage<4, 16, ::CommandPosition> mFrom;
37 ::ll::TypedStorage<4, 16, ::CommandPosition> mTo;
38 ::ll::TypedStorage<4, 4, float> mIntegrity;
39 ::ll::TypedStorage<1, 1, bool> mSeedSpecified;
40 ::ll::TypedStorage<1, 1, bool> mIncludeEntities;
41 ::ll::TypedStorage<1, 1, bool> mIncludeBlocks;
42 ::ll::TypedStorage<1, 1, bool> mWaterlogged;
43 // NOLINTEND
44
45public:
46 // virtual functions
47 // NOLINTBEGIN
48 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCAPI void _editorLoad(
55 ::CommandOrigin const& origin,
56 ::CommandOutput& output,
57 ::Level& level,
58 ::std::string const& fullName,
59 ::BlockPos const& loadPosition,
60 ::StructureEditorData& settings
61 ) const;
62
63 MCAPI ::std::string _getFullName() const;
64 // NOLINTEND
65
66public:
67 // static functions
68 // NOLINTBEGIN
69 MCAPI static void setup(::CommandRegistry& registry, bool isEditorWorld);
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
76
77
78 // NOLINTEND
79};
Definition BlockPos.h:17
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:51
Definition Command.h:17
Definition Level.h:254
Definition StructureCommand.h:24
Definition StructureEditorData.h:17