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
Parrot.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
7
#include "mc/world/actor/ActorInitializationMethod.h"
8
#include "mc/world/actor/animal/Animal.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
ActorDamageSource
;
13
class
ActorDefinitionGroup
;
14
class
BlockPos
;
15
class
EntityContext
;
16
struct
ActorDefinitionIdentifier
;
17
// clang-format on
18
19
class
Parrot :
public
::Animal
{
20
public
:
21
// prevent constructor by default
22
Parrot();
23
24
public
:
25
// virtual functions
26
// NOLINTBEGIN
27
virtual
float
_getWalkTargetValue(
::BlockPos
const
& pos)
/*override*/
;
28
29
virtual
void
playAmbientSound()
/*override*/
;
30
31
virtual ::SharedTypes::Legacy::LevelSoundEvent getAmbientSound()
const
/*override*/
;
32
33
virtual
void
setSitting(
bool
value)
/*override*/
;
34
35
virtual
bool
canBePulledIntoVehicle()
const
/*override*/
;
36
37
virtual
bool
isInvulnerableTo(
::ActorDamageSource
const
& source)
const
/*override*/
;
38
39
virtual
float
getShadowRadius()
const
/*override*/
;
40
41
virtual
void
reloadHardcodedClient(::ActorInitializationMethod method)
/*override*/
;
42
// NOLINTEND
43
44
public
:
45
// member functions
46
// NOLINTBEGIN
47
MCNAPI
Parrot
(
48
::ActorDefinitionGroup
* definitions,
49
::ActorDefinitionIdentifier
const
& definitionName,
50
::EntityContext
& entityContext
51
);
52
53
MCNAPI
void
postAiStep
();
54
// NOLINTEND
55
56
public
:
57
// constructor thunks
58
// NOLINTBEGIN
59
MCNAPI
void
*
$ctor
(
60
::ActorDefinitionGroup
* definitions,
61
::ActorDefinitionIdentifier
const
& definitionName,
62
::EntityContext
& entityContext
63
);
64
// NOLINTEND
65
66
public
:
67
// virtual function thunks
68
// NOLINTBEGIN
69
MCNAPI
float
$_getWalkTargetValue
(
::BlockPos
const
& pos);
70
71
MCNAPI
void
$playAmbientSound
();
72
73
MCNAPI ::SharedTypes::Legacy::LevelSoundEvent
$getAmbientSound
()
const
;
74
75
MCNAPI
void
$setSitting
(
bool
value);
76
77
MCNAPI
bool
$canBePulledIntoVehicle
()
const
;
78
79
MCNAPI
bool
$isInvulnerableTo
(
::ActorDamageSource
const
& source)
const
;
80
81
MCNAPI
float
$getShadowRadius
()
const
;
82
83
MCNAPI
void
$reloadHardcodedClient
(::ActorInitializationMethod method);
84
85
86
// NOLINTEND
87
};
ActorDamageSource
Definition
ActorDamageSource.h:18
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:26
Animal
Definition
Animal.h:16
BlockPos
Definition
BlockPos.h:14
EntityContext
Definition
EntityContext.h:15
Parrot::postAiStep
MCAPI void postAiStep()
Parrot::$reloadHardcodedClient
MCAPI void $reloadHardcodedClient(::ActorInitializationMethod method)
Parrot::$playAmbientSound
MCAPI void $playAmbientSound()
Parrot::Parrot
MCAPI Parrot(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
Parrot::$getAmbientSound
MCAPI::SharedTypes::Legacy::LevelSoundEvent $getAmbientSound() const
Parrot::$canBePulledIntoVehicle
MCAPI bool $canBePulledIntoVehicle() const
Parrot::$setSitting
MCAPI void $setSitting(bool value)
Parrot::$getShadowRadius
MCAPI float $getShadowRadius() const
Parrot::$_getWalkTargetValue
MCAPI float $_getWalkTargetValue(::BlockPos const &pos)
Parrot::$ctor
MCAPI void * $ctor(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
Parrot::$isInvulnerableTo
MCAPI bool $isInvulnerableTo(::ActorDamageSource const &source) const
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:15
src
mc
world
actor
animal
Parrot.h
Generated on
for LeviLamina by
1.16.1