Skip to content
LeviMC
English
AutoLightDark
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 // NOLINTEND
43
44public:
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
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCNAPI void* $ctor(
60 ::ActorDefinitionGroup* definitions,
61 ::ActorDefinitionIdentifier const& definitionName,
62 ::EntityContext& entityContext
63 );
64 // NOLINTEND
65
66public:
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};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:26
Definition Animal.h:16
Definition BlockPos.h:14
Definition EntityContext.h:15
MCAPI void postAiStep()
MCAPI void $reloadHardcodedClient(::ActorInitializationMethod method)
MCAPI void $playAmbientSound()
MCAPI Parrot(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
MCAPI::SharedTypes::Legacy::LevelSoundEvent $getAmbientSound() const
MCAPI bool $canBePulledIntoVehicle() const
MCAPI void $setSitting(bool value)
MCAPI float $getShadowRadius() const
MCAPI float $_getWalkTargetValue(::BlockPos const &pos)
MCAPI void * $ctor(::ActorDefinitionGroup *definitions, ::ActorDefinitionIdentifier const &definitionName, ::EntityContext &entityContext)
MCAPI bool $isInvulnerableTo(::ActorDamageSource const &source) const
Definition ActorDefinitionIdentifier.h:15