Skip to content
LeviMC
English
AutoLightDark
LeviLamina
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
14class CompoundTag;
15class DataLoadHelper;
16class EntityContext;
19// clang-format on
20
21class Goat : public ::Animal {
22public:
23 // prevent constructor by default
24 Goat();
25
26public:
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
41public:
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
53public:
54 // static variables
55 // NOLINTBEGIN
56 MCNAPI static int& DEFAULT_HORN_COUNT();
57
58 MCNAPI static int& SCREAMING_GOAT_VARIANT();
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCNAPI void* $ctor(
65 ::ActorDefinitionGroup* definitions,
66 ::ActorDefinitionIdentifier const& definitionName,
67 ::EntityContext& entityContext
68 );
69 // NOLINTEND
70
71public:
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
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
Definition ActorDefinitionGroup.h:26
Definition Animal.h:16
Definition CompoundTag.h:18
Definition DataLoadHelper.h:20
Definition EntityContext.h:15
static MCAPI int & DEFAULT_HORN_COUNT()
MCAPI void $readAdditionalSaveData(::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
MCAPI::SharedTypes::Legacy::LevelSoundEvent $getAmbientSound() const
MCAPI void * $ctor(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
MCAPI void $addAdditionalSaveData(::CompoundTag &tag) const
MCAPI Goat(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
MCAPI void $initializeComponents(::ActorInitializationMethod method, ::VariantParameterList const &params)
MCAPI void $handleEntityEvent(::ActorEvent id, int data)
static MCAPI void ** $vftable()
MCAPI void reduceHornCount()
static MCAPI int & SCREAMING_GOAT_VARIANT()
Definition ActorDefinitionIdentifier.h:15
Definition VariantParameterList.h:17