LeviLamina
Loading...
Searching...
No Matches
MinecartBlockCommandOrigin.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/BlockCommandOrigin.h"
7#include "mc/server/commands/CommandOriginType.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
13class BlockPos;
14class BlockSource;
16class CommandOrigin;
17class CompoundTag;
18class Level;
19class Vec2;
20class Vec3;
21struct ActorUniqueID;
22// clang-format on
23
25public:
26 // member variables
27 // NOLINTBEGIN
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 // vIndex: 0
41 virtual ~MinecartBlockCommandOrigin() /*override*/ = default;
42
43 // vIndex: 3
44 virtual ::BlockPos getBlockPosition() const /*override*/;
45
46 // vIndex: 4
47 virtual ::Vec3 getWorldPosition() const /*override*/;
48
49 // vIndex: 5
50 virtual ::std::optional<::Vec2> getRotation() const /*override*/;
51
52 // vIndex: 8
53 virtual ::Actor* getEntity() const /*override*/;
54
55 // vIndex: 10
56 virtual ::std::unique_ptr<::CommandOrigin> clone() const /*override*/;
57
58 // vIndex: 17
59 virtual bool canUseCommandsWithoutCheatsEnabled() const /*override*/;
60
61 // vIndex: 23
62 virtual ::CommandOriginType getOriginType() const /*override*/;
63
64 // vIndex: 29
65 virtual ::CompoundTag serialize() const /*override*/;
66
67 // vIndex: 30
68 virtual bool isValid() const /*override*/;
69
70 // vIndex: 34
71 virtual ::CommandBlockActor* _getBlockEntity(::BlockSource& region) const /*override*/;
72
73 // vIndex: 33
74 virtual ::BaseCommandBlock* _getBaseCommandBlock(::BlockSource& region) const /*override*/;
75 // NOLINTEND
76
77public:
78 // member functions
79 // NOLINTBEGIN
80 MCAPI MinecartBlockCommandOrigin(::BlockSource& region, ::ActorUniqueID const& minecartId);
81 // NOLINTEND
82
83public:
84 // static functions
85 // NOLINTBEGIN
86 MCAPI static ::std::unique_ptr<::MinecartBlockCommandOrigin> load(::CompoundTag const& tag, ::Level& level);
87 // NOLINTEND
88
89public:
90 // constructor thunks
91 // NOLINTBEGIN
92 MCAPI void* $ctor(::BlockSource& region, ::ActorUniqueID const& minecartId);
93 // NOLINTEND
94
95public:
96 // destructor thunk
97 // NOLINTBEGIN
98
99 // NOLINTEND
100
101public:
102 // virtual function thunks
103 // NOLINTBEGIN
104 MCFOLD ::BlockPos $getBlockPosition() const;
105
106 MCAPI ::Vec3 $getWorldPosition() const;
107
108 MCAPI ::std::optional<::Vec2> $getRotation() const;
109
110 MCAPI ::Actor* $getEntity() const;
111
112 MCAPI ::std::unique_ptr<::CommandOrigin> $clone() const;
113
114 MCFOLD bool $canUseCommandsWithoutCheatsEnabled() const;
115
116 MCFOLD ::CommandOriginType $getOriginType() const;
117
118 MCAPI ::CompoundTag $serialize() const;
119
120 MCFOLD bool $isValid() const;
121
122 MCFOLD ::CommandBlockActor* $_getBlockEntity(::BlockSource& region) const;
123
124 MCAPI ::BaseCommandBlock* $_getBaseCommandBlock(::BlockSource& region) const;
125 // NOLINTEND
126
127public:
128 // vftables
129 // NOLINTBEGIN
130 MCAPI static void** $vftable();
131 // NOLINTEND
132};
Definition Actor.h:104
Definition BaseCommandBlock.h:16
Definition BlockCommandOrigin.h:24
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition CommandBlockActor.h:26
Definition CommandOrigin.h:32
Definition CompoundTag.h:13
Definition Level.h:234
Definition MinecartBlockCommandOrigin.h:24
Definition Vec2.h:5
Definition Vec3.h:10
Definition ActorUniqueID.h:5
Definition Alias.h:14
Definition serialize.h:11