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
CombatRegenerationComponent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/legacy/ActorUniqueID.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Actor
;
11
class
CombatRegenerationListener
;
12
// clang-format on
13
14
class
CombatRegenerationComponent
{
15
public
:
16
// member variables
17
// NOLINTBEGIN
18
::ll::TypedStorage<8, 8, ::ActorUniqueID> mTargetID;
19
::ll::TypedStorage<8, 8, ::std::unique_ptr<::CombatRegenerationListener>> mCombatRegenerationListener;
20
// NOLINTEND
21
22
public
:
23
// member functions
24
// NOLINTBEGIN
25
MCAPI
void
_applyCombatBuffsToMob(
::Actor
& owner,
::Actor
& mob);
26
27
MCNAPI
bool
_shouldApplyCombatBuffs
(
::Actor
& owner,
::Actor
& mob);
28
29
MCNAPI
void
tick
(
::Actor
& owner);
30
// NOLINTEND
31
};
Actor
Definition
Actor.h:116
CombatRegenerationComponent
Definition
CombatRegenerationComponent.h:14
CombatRegenerationComponent::tick
MCAPI void tick(::Actor &owner)
CombatRegenerationComponent::_shouldApplyCombatBuffs
MCAPI bool _shouldApplyCombatBuffs(::Actor &owner, ::Actor &mob)
CombatRegenerationListener
Definition
CombatRegenerationListener.h:16
src
mc
entity
components_json_legacy
CombatRegenerationComponent.h
Generated on
for LeviLamina by
1.16.1