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