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
ActorFOVUtility.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/actor/ActorType.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Actor
;
11
class
Player
;
12
class
Vec3
;
13
struct
VisibilityCacheComponent
;
14
// clang-format on
15
16
namespace
ActorFOVUtility {
17
// functions
18
// NOLINTBEGIN
19
MCNAPI
bool
canSee(::VisibilityCacheComponent& visibilityCacheComponent, ::Actor
const
& owner, ::Actor
const
& target);
20
21
MCNAPI
bool
isPlayerHiddenFrom(::Player
const
& player, ::ActorType actorType);
22
23
MCNAPI
bool
withinFOV(::Actor
const
& owner, ::Vec3
const
& targetPosition,
float
fov);
24
// NOLINTEND
25
26
}
// namespace ActorFOVUtility
Actor
Definition
Actor.h:116
Player
Definition
Player.h:131
Vec3
Definition
Vec3.h:10
VisibilityCacheComponent
Definition
VisibilityCacheComponent.h:8
src
mc
util
ActorFOVUtility.h
Generated on
for LeviLamina by
1.16.1