LeviLamina
Loading...
Searching...
No Matches
CommandPosition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class BlockPos;
8class CommandOrigin;
9class CompoundTag;
10class Vec3;
11// clang-format on
12
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<4, 12, ::Vec3> mOffset;
18 ::ll::TypedStorage<1, 1, bool> mRelativeX;
19 ::ll::TypedStorage<1, 1, bool> mRelativeY;
20 ::ll::TypedStorage<1, 1, bool> mRelativeZ;
21 ::ll::TypedStorage<1, 1, bool> mLocal;
22 // NOLINTEND
23
24public:
25 // member functions
26 // NOLINTBEGIN
27 MCAPI CommandPosition();
28
29 MCAPI explicit CommandPosition(::Vec3 const& absoluteOffset);
30
31 MCAPI ::BlockPos getBlockPos(int version, ::CommandOrigin const& origin, ::Vec3 const& offsetFromBase) const;
32
33 MCAPI ::Vec3 getPosition(int version, ::CommandOrigin const& origin, ::Vec3 const& offsetFromBase) const;
34
35 MCAPI ::CompoundTag serialize() const;
36 // NOLINTEND
37
38public:
39 // constructor thunks
40 // NOLINTBEGIN
41 MCAPI void* $ctor();
42
43 MCAPI void* $ctor(::Vec3 const& absoluteOffset);
44 // NOLINTEND
45};
Definition BlockPos.h:18
Definition CommandOrigin.h:32
Definition CommandPosition.h:13
Definition CompoundTag.h:13
Definition Vec3.h:10
Definition serialize.h:11