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
Witch.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/actor/ActorEvent.h"
7
#include "mc/world/actor/monster/HumanoidMonster.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
ActorDamageSource
;
12
class
ActorDefinitionGroup
;
13
class
EntityContext
;
14
class
Vec3
;
15
struct
ActorDefinitionIdentifier
;
16
// clang-format on
17
18
class
Witch :
public
::HumanoidMonster
{
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::TypedStorage<4, 4, int> mUsingTime;
23
// NOLINTEND
24
25
public
:
26
// prevent constructor by default
27
Witch();
28
29
public
:
30
// virtual functions
31
// NOLINTBEGIN
32
virtual
void
handleEntityEvent(::ActorEvent
id
,
int
data)
/*override*/
;
33
34
virtual ::Vec3 getFiringPos()
const
/*override*/
;
35
36
virtual
float
getDamageAfterEnchantReduction(
::ActorDamageSource
const
& source,
float
damage)
const
/*override*/
;
37
// NOLINTEND
38
39
public
:
40
// member functions
41
// NOLINTBEGIN
42
MCNAPI
Witch
(
43
::ActorDefinitionGroup
* definitions,
44
::ActorDefinitionIdentifier
const
& definitionName,
45
::EntityContext
& entityContext
46
);
47
48
MCNAPI
void
preAiStep
();
49
// NOLINTEND
50
51
public
:
52
// constructor thunks
53
// NOLINTBEGIN
54
MCNAPI
void
*
$ctor
(
55
::ActorDefinitionGroup
* definitions,
56
::ActorDefinitionIdentifier
const
& definitionName,
57
::EntityContext
& entityContext
58
);
59
// NOLINTEND
60
61
public
:
62
// virtual function thunks
63
// NOLINTBEGIN
64
MCNAPI
void
$handleEntityEvent
(::ActorEvent
id
,
int
data);
65
66
MCNAPI ::Vec3
$getFiringPos
()
const
;
67
68
MCNAPI
float
$getDamageAfterEnchantReduction
(
::ActorDamageSource
const
& source,
float
damage)
const
;
69
70
71
// NOLINTEND
72
73
public
:
74
// vftables
75
// NOLINTBEGIN
76
MCNAPI
static
void
**
$vftable
();
77
// NOLINTEND
78
};
ActorDamageSource
Definition
ActorDamageSource.h:18
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:26
EntityContext
Definition
EntityContext.h:15
HumanoidMonster
Definition
HumanoidMonster.h:14
Vec3
Definition
Vec3.h:10
Witch::$vftable
static MCAPI void ** $vftable()
Witch::$getDamageAfterEnchantReduction
MCAPI float $getDamageAfterEnchantReduction(::ActorDamageSource const &source, float damage) const
Witch::Witch
MCAPI Witch(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
Witch::$handleEntityEvent
MCAPI void $handleEntityEvent(::ActorEvent id, int data)
Witch::$ctor
MCAPI void * $ctor(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
Witch::$getFiringPos
MCAPI::Vec3 $getFiringPos() const
Witch::preAiStep
MCAPI void preAiStep()
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:15
src
mc
world
actor
monster
Witch.h
Generated on
for LeviLamina by
1.16.1