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
Goat.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/ActorEvent.h"
8
#include "mc/world/actor/ActorInitializationMethod.h"
9
#include "mc/world/actor/animal/Animal.h"
10
11
// auto generated forward declare list
12
// clang-format off
13
class
ActorDefinitionGroup
;
14
class
CompoundTag
;
15
class
DataLoadHelper
;
16
class
EntityContext
;
17
struct
ActorDefinitionIdentifier
;
18
struct
VariantParameterList
;
19
// clang-format on
20
21
class
Goat :
public
::Animal
{
22
public
:
23
// prevent constructor by default
24
Goat();
25
26
public
:
27
// virtual functions
28
// NOLINTBEGIN
29
virtual
void
readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
30
31
virtual
void
addAdditionalSaveData(
::CompoundTag
& tag)
const
/*override*/
;
32
33
virtual
void
34
initializeComponents(::ActorInitializationMethod method,
::VariantParameterList
const
& params)
/*override*/
;
35
36
virtual ::SharedTypes::Legacy::LevelSoundEvent getAmbientSound()
const
/*override*/
;
37
38
virtual
void
handleEntityEvent(::ActorEvent
id
,
int
data)
/*override*/
;
39
// NOLINTEND
40
41
public
:
42
// member functions
43
// NOLINTBEGIN
44
MCNAPI
Goat
(
45
::ActorDefinitionGroup
* definitions,
46
::ActorDefinitionIdentifier
const
& definitionName,
47
::EntityContext
& entityContext
48
);
49
50
MCNAPI
void
reduceHornCount
();
51
// NOLINTEND
52
53
public
:
54
// static variables
55
// NOLINTBEGIN
56
MCNAPI
static
int
&
DEFAULT_HORN_COUNT
();
57
58
MCNAPI
static
int
&
SCREAMING_GOAT_VARIANT
();
59
// NOLINTEND
60
61
public
:
62
// constructor thunks
63
// NOLINTBEGIN
64
MCNAPI
void
*
$ctor
(
65
::ActorDefinitionGroup
* definitions,
66
::ActorDefinitionIdentifier
const
& definitionName,
67
::EntityContext
& entityContext
68
);
69
// NOLINTEND
70
71
public
:
72
// virtual function thunks
73
// NOLINTBEGIN
74
MCNAPI
void
$readAdditionalSaveData
(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
75
76
MCNAPI
void
$addAdditionalSaveData
(
::CompoundTag
& tag)
const
;
77
78
MCNAPI
void
$initializeComponents
(::ActorInitializationMethod method,
::VariantParameterList
const
& params);
79
80
MCNAPI ::SharedTypes::Legacy::LevelSoundEvent
$getAmbientSound
()
const
;
81
82
MCNAPI
void
$handleEntityEvent
(::ActorEvent
id
,
int
data);
83
84
85
// NOLINTEND
86
87
public
:
88
// vftables
89
// NOLINTBEGIN
90
MCNAPI
static
void
**
$vftable
();
91
// NOLINTEND
92
};
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:26
Animal
Definition
Animal.h:16
CompoundTag
Definition
CompoundTag.h:18
DataLoadHelper
Definition
DataLoadHelper.h:20
EntityContext
Definition
EntityContext.h:15
Goat::DEFAULT_HORN_COUNT
static MCAPI int & DEFAULT_HORN_COUNT()
Goat::$readAdditionalSaveData
MCAPI void $readAdditionalSaveData(::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
Goat::$getAmbientSound
MCAPI::SharedTypes::Legacy::LevelSoundEvent $getAmbientSound() const
Goat::$ctor
MCAPI void * $ctor(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
Goat::$addAdditionalSaveData
MCAPI void $addAdditionalSaveData(::CompoundTag &tag) const
Goat::Goat
MCAPI Goat(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
Goat::$initializeComponents
MCAPI void $initializeComponents(::ActorInitializationMethod method, ::VariantParameterList const ¶ms)
Goat::$handleEntityEvent
MCAPI void $handleEntityEvent(::ActorEvent id, int data)
Goat::$vftable
static MCAPI void ** $vftable()
Goat::reduceHornCount
MCAPI void reduceHornCount()
Goat::SCREAMING_GOAT_VARIANT
static MCAPI int & SCREAMING_GOAT_VARIANT()
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:15
VariantParameterList
Definition
VariantParameterList.h:17
src
mc
world
actor
animal
Goat.h
Generated on
for LeviLamina by
1.16.1