LeviLamina
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
14class BlockPos;
15class EntityContext;
17// clang-format on
18
19class Parrot : public ::Animal {
20public:
21 // prevent constructor by default
22 Parrot();
23
24public:
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
43 virtual ~Parrot() /*override*/ = default;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI Parrot(
50 ::ActorDefinitionGroup* definitions,
51 ::ActorDefinitionIdentifier const& definitionName,
52 ::EntityContext& entityContext
53 );
54
55 MCAPI void postAiStep();
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCAPI void* $ctor(
62 ::ActorDefinitionGroup* definitions,
63 ::ActorDefinitionIdentifier const& definitionName,
64 ::EntityContext& entityContext
65 );
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCAPI float $_getWalkTargetValue(::BlockPos const& pos);
72
73 MCAPI void $playAmbientSound();
74
75 MCAPI ::SharedTypes::Legacy::LevelSoundEvent $getAmbientSound() const;
76
77 MCAPI void $setSitting(bool value);
78
79 MCAPI bool $canBePulledIntoVehicle() const;
80
81 MCAPI bool $isInvulnerableTo(::ActorDamageSource const& source) const;
82
83 MCAPI float $getShadowRadius() const;
84
85 MCAPI void $reloadHardcodedClient(::ActorInitializationMethod method);
86
87
88 // NOLINTEND
89
90public:
91 // vftables
92 // NOLINTBEGIN
93 MCNAPI static void** $vftable();
94 // NOLINTEND
95};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:35
Definition BlockPos.h:19
Definition EntityContext.h:16
static MCAPI void ** $vftable()
Definition ActorDefinitionIdentifier.h:15