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
PigZombie.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/actor/monster/Zombie.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
ActorDamageSource
;
11
class
ActorDefinitionGroup
;
12
class
ActorHurtResult
;
13
class
CompoundTag
;
14
class
DataLoadHelper
;
15
class
EntityContext
;
16
struct
ActorDefinitionIdentifier
;
17
struct
HurtParameters
;
18
// clang-format on
19
20
class
PigZombie :
public
::Zombie {
21
public
:
22
// member variables
23
// NOLINTBEGIN
24
::ll::TypedStorage<4, 4, int> mAngerTime;
25
::ll::TypedStorage<4, 4, int> mPlayAngrySoundIn;
26
::ll::TypedStorage<4, 4, int> mStunedTime;
27
// NOLINTEND
28
29
public
:
30
// prevent constructor by default
31
PigZombie();
32
33
public
:
34
// virtual functions
35
// NOLINTBEGIN
36
virtual
void
normalTick()
/*override*/
;
37
38
virtual
bool
checkSpawnRules(
bool
fromSpawner)
/*override*/
;
39
40
virtual ::ActorHurtResult
41
_hurt(
::ActorDamageSource
const
& source,
float
damage,
::HurtParameters
const
& hurtParameters)
/*override*/
;
42
43
virtual
void
addAdditionalSaveData(
::CompoundTag
& entityTag)
const
/*override*/
;
44
45
virtual
void
readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
46
// NOLINTEND
47
48
public
:
49
// member functions
50
// NOLINTBEGIN
51
MCNAPI
PigZombie
(
52
::ActorDefinitionGroup
* definitions,
53
::ActorDefinitionIdentifier
const
& definitionName,
54
::EntityContext
& entityContext
55
);
56
// NOLINTEND
57
58
public
:
59
// constructor thunks
60
// NOLINTBEGIN
61
MCNAPI
void
*
$ctor
(
62
::ActorDefinitionGroup
* definitions,
63
::ActorDefinitionIdentifier
const
& definitionName,
64
::EntityContext
& entityContext
65
);
66
// NOLINTEND
67
68
public
:
69
// virtual function thunks
70
// NOLINTBEGIN
71
MCNAPI
void
$normalTick
();
72
73
MCNAPI
bool
$checkSpawnRules
(
bool
fromSpawner);
74
75
MCNAPI ::ActorHurtResult
76
$_hurt
(
::ActorDamageSource
const
& source,
float
damage,
::HurtParameters
const
& hurtParameters);
77
78
MCNAPI
void
$addAdditionalSaveData
(
::CompoundTag
& entityTag)
const
;
79
80
MCNAPI
void
$readAdditionalSaveData
(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
81
82
83
// NOLINTEND
84
85
public
:
86
// vftables
87
// NOLINTBEGIN
88
MCNAPI
static
void
**
$vftable
();
89
// NOLINTEND
90
};
ActorDamageSource
Definition
ActorDamageSource.h:18
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:26
ActorHurtResult
Definition
ActorHurtResult.h:5
CompoundTag
Definition
CompoundTag.h:18
DataLoadHelper
Definition
DataLoadHelper.h:20
EntityContext
Definition
EntityContext.h:15
PigZombie::$readAdditionalSaveData
MCAPI void $readAdditionalSaveData(::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
PigZombie::$vftable
static MCAPI void ** $vftable()
PigZombie::$normalTick
MCAPI void $normalTick()
PigZombie::$addAdditionalSaveData
MCAPI void $addAdditionalSaveData(::CompoundTag &entityTag) const
PigZombie::PigZombie
MCAPI PigZombie(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
PigZombie::$checkSpawnRules
MCAPI bool $checkSpawnRules(bool fromSpawner)
PigZombie::$ctor
MCAPI void * $ctor(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
PigZombie::$_hurt
MCAPI::ActorHurtResult $_hurt(::ActorDamageSource const &source, float damage, ::HurtParameters const &hurtParameters)
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:15
HurtParameters
Definition
HurtParameters.h:8
src
mc
world
actor
monster
PigZombie.h
Generated on
for LeviLamina by
1.16.1