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
OpenDoorAnnotationComponent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/BlockPos.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Block
;
11
class
EntityContext
;
12
class
Mob
;
13
// clang-format on
14
15
class
OpenDoorAnnotationComponent
{
16
public
:
17
// member variables
18
// NOLINTBEGIN
19
::ll::TypedStorage<8, 40, ::std::queue<::BlockPos, ::std::deque<::BlockPos>>> mPassedDoorPositions;
20
// NOLINTEND
21
22
public
:
23
// member functions
24
// NOLINTBEGIN
25
MCNAPI
void
_cleanUp
(
::Mob
& mob);
26
27
MCNAPI
void
_tryToggleDoorState
(
::Block
const
& block,
::Mob
& mob,
::BlockPos
const
doorPos)
const
;
28
29
MCNAPI
void
checkPath
(
::Mob
& mob);
30
31
MCNAPI
void
onComponentRemoved
(
::EntityContext
& entity);
32
// NOLINTEND
33
};
BlockPos
Definition
BlockPos.h:14
Block
Definition
Block.h:42
EntityContext
Definition
EntityContext.h:15
Mob
Definition
Mob.h:58
OpenDoorAnnotationComponent
Definition
OpenDoorAnnotationComponent.h:15
OpenDoorAnnotationComponent::_tryToggleDoorState
MCAPI void _tryToggleDoorState(::Block const &block, ::Mob &mob, ::BlockPos const doorPos) const
OpenDoorAnnotationComponent::onComponentRemoved
MCAPI void onComponentRemoved(::EntityContext &entity)
OpenDoorAnnotationComponent::_cleanUp
MCAPI void _cleanUp(::Mob &mob)
OpenDoorAnnotationComponent::checkPath
MCAPI void checkPath(::Mob &mob)
src
mc
entity
components_json_legacy
OpenDoorAnnotationComponent.h
Generated on
for LeviLamina by
1.16.1