Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
Loading...
Searching...
No Matches
PositionSource.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/math/Vec3.h"
7
#include "mc/deps/shared_types/legacy/actor/ActorLocation.h"
8
#include "mc/legacy/ActorUniqueID.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
BlockSource
;
13
class
CompoundTag
;
14
// clang-format on
15
16
namespace
GameEvents {
17
18
class
PositionSource
{
19
public
:
20
// PositionSource inner types define
21
using
ActorWithAttachPos = ::std::pair<::ActorUniqueID, ::SharedTypes::Legacy::ActorLocation>;
22
23
public
:
24
// member variables
25
// NOLINTBEGIN
26
::ll::
27
TypedStorage<8, 24, ::std::variant<::std::pair<::ActorUniqueID, ::SharedTypes::Legacy::ActorLocation>,
::Vec3
>>
28
mVariant;
29
// NOLINTEND
30
31
public
:
32
// member functions
33
// NOLINTBEGIN
34
MCNAPI
void
serializeTo
(
::CompoundTag
& tag)
const
;
35
// NOLINTEND
36
37
public
:
38
// static functions
39
// NOLINTBEGIN
40
#ifdef LL_PLAT_C
41
MCNAPI static ::std::optional<::Vec3>
42
extractPosition(
::CompoundTag
const
& data,
char
const
* tagName,
::BlockSource
const
& region);
43
#endif
44
// NOLINTEND
45
};
46
47
}
// namespace GameEvents
BlockSource
Definition
BlockSource.h:72
CompoundTag
Definition
CompoundTag.h:18
GameEvents::PositionSource
Definition
PositionSource.h:18
GameEvents::PositionSource::serializeTo
MCAPI void serializeTo(::CompoundTag &tag) const
Vec3
Definition
Vec3.h:10
src
mc
world
events
gameevents
PositionSource.h
Generated on
for LeviLamina by
1.16.1