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
ActorRiding.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/ecs/ViewT.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
EntityContext
;
11
class
StrictEntityContext
;
12
class
Vec3
;
13
struct
ActorUniqueID
;
14
struct
StateVectorComponent
;
15
struct
StrictActorIDEntityContextPair
;
16
struct
VehicleComponent
;
17
// clang-format on
18
19
namespace
ActorRiding {
20
// functions
21
// NOLINTBEGIN
22
MCNAPI ::StrictEntityContext getPassengerClosestTo(
23
::Vec3
const
& pos,
24
::VehicleComponent
const
& vehicle,
25
::ViewT<::StrictEntityContext, ::StateVectorComponent const>
const
& positions
26
);
27
28
MCAPI ::std::vector<::StrictActorIDEntityContextPair>
const
& getPassengers(::EntityContext
const
& provider);
29
30
MCNAPI
bool
isControlled(::EntityContext
const
& provider);
31
32
MCNAPI
bool
isPassenger(::EntityContext
const
& provider);
33
34
MCNAPI
void
35
setVehicle(::EntityContext& provider, ::StrictEntityContext vehicleContext, ::ActorUniqueID
const
& vehicleID);
36
// NOLINTEND
37
38
// static variables
39
// NOLINTBEGIN
40
MCNAPI ::std::vector<::StrictActorIDEntityContextPair>
const
& STRICTACTORIDENTITYCONTEXTPAIR_EMPTY_VECTOR();
41
// NOLINTEND
42
43
}
// namespace ActorRiding
EntityContext
Definition
EntityContext.h:15
StrictEntityContext
Definition
StrictEntityContext.h:8
Vec3
Definition
Vec3.h:10
ActorUniqueID
Definition
ActorUniqueID.h:5
StateVectorComponent
Definition
StateVectorComponent.h:8
StrictActorIDEntityContextPair
Definition
StrictActorIDEntityContextPair.h:9
VehicleComponent
Definition
VehicleComponent.h:10
src
mc
world
actor
provider
ActorRiding.h
Generated on
for LeviLamina by
1.16.1