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;
17class Mob;
20// clang-format on
21
22class Goat : public ::Animal {
23public:
24 // prevent constructor by default
25 Goat();
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
31
32 virtual void addAdditionalSaveData(::CompoundTag& tag) const /*override*/;
33
34 virtual void
35 initializeComponents(::ActorInitializationMethod method, ::VariantParameterList const& params) /*override*/;
36
37 virtual ::SharedTypes::Legacy::LevelSoundEvent getAmbientSound() const /*override*/;
38
39 virtual void handleEntityEvent(::ActorEvent id, int data) /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI Goat(
46 ::ActorDefinitionGroup* definitions,
47 ::ActorDefinitionIdentifier const& definitionName,
48 ::EntityContext& entityContext
49 );
50
51 MCAPI int getHornCount() const;
52
53 MCAPI bool isScreaming();
54
55 MCAPI void reduceHornCount();
56 // NOLINTEND
57
58public:
59 // static functions
60 // NOLINTBEGIN
61 MCAPI static ::std::optional<::SharedTypes::Legacy::LevelSoundEvent> getCustomDeathSound(::Mob const& mob);
62
63 MCAPI static ::std::optional<::SharedTypes::Legacy::LevelSoundEvent> getCustomHurtSound(::Mob const& mob);
64 // NOLINTEND
65
66public:
67 // static variables
68 // NOLINTBEGIN
69 MCAPI static int& DEFAULT_HORN_COUNT();
70
71 MCAPI static int& SCREAMING_GOAT_VARIANT();
72 // NOLINTEND
73
74public:
75 // constructor thunks
76 // NOLINTBEGIN
77 MCAPI void* $ctor(
78 ::ActorDefinitionGroup* definitions,
79 ::ActorDefinitionIdentifier const& definitionName,
80 ::EntityContext& entityContext
81 );
82 // NOLINTEND
83
84public:
85 // virtual function thunks
86 // NOLINTBEGIN
87 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
88
89 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
90
91 MCAPI void $initializeComponents(::ActorInitializationMethod method, ::VariantParameterList const& params);
92
93 MCAPI ::SharedTypes::Legacy::LevelSoundEvent $getAmbientSound() const;
94
95 MCAPI void $handleEntityEvent(::ActorEvent id, int data);
96
97
98 // NOLINTEND
99
100public:
101 // vftables
102 // NOLINTBEGIN
103 MCAPI static void** $vftable();
104 // NOLINTEND
105};
Definition ActorDefinitionGroup.h:37
Definition CompoundTag.h:23
Definition DataLoadHelper.h:20
Definition EntityContext.h:17
Definition Mob.h:57
Definition ActorDefinitionIdentifier.h:15
Definition VariantParameterList.h:14