LeviLamina
Loading...
Searching...
No Matches
VillagerBase.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/comprehensive/ParticleType.h"
7#include "mc/world/actor/ActorEvent.h"
8#include "mc/world/actor/Mob.h"
9
10// auto generated forward declare list
11// clang-format off
13class CompoundTag;
14class DataLoadHelper;
15class EntityContext;
17// clang-format on
18
19class VillagerBase : public ::Mob {
20public:
21 // VillagerBase inner types define
22 enum class BiomeType : int {
23 Plains = 0,
24 Desert = 1,
25 Jungle = 2,
26 Savannah = 3,
27 Snow = 4,
28 Swamp = 5,
29 Taiga = 6,
30 Count = 7,
31 };
32
33public:
34 // member variables
35 // NOLINTBEGIN
36 ::ll::TypedStorage<1, 1, bool> mChasing;
37 ::ll::TypedStorage<1, 1, bool> mWillingToBreed;
38 // NOLINTEND
39
40public:
41 // prevent constructor by default
43
44public:
45 // virtual functions
46 // NOLINTBEGIN
47 // vIndex: 137
48 virtual void addAdditionalSaveData(::CompoundTag& tag) const /*override*/;
49
50 // vIndex: 136
51 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
52
53 // vIndex: 69
54 virtual void handleEntityEvent(::ActorEvent eventId, int data) /*override*/;
55
56 // vIndex: 67
57 virtual void onLightningHit() /*override*/;
58
59 // vIndex: 8
60 virtual ~VillagerBase() /*override*/;
61 // NOLINTEND
62
63public:
64 // member functions
65 // NOLINTBEGIN
66 MCAPI VillagerBase(
67 ::ActorDefinitionGroup* definitions,
68 ::ActorDefinitionIdentifier const& definitionName,
69 ::EntityContext& entityContext
70 );
71
72 MCAPI void _addParticlesAroundSelf(::ParticleType particleType);
73
74 MCAPI void consumeLoveFood();
75
76 MCAPI int getBreedingStackIndex() const;
77 // NOLINTEND
78
79public:
80 // constructor thunks
81 // NOLINTBEGIN
82 MCAPI void* $ctor(
83 ::ActorDefinitionGroup* definitions,
84 ::ActorDefinitionIdentifier const& definitionName,
85 ::EntityContext& entityContext
86 );
87 // NOLINTEND
88
89public:
90 // destructor thunk
91 // NOLINTBEGIN
92 MCFOLD void $dtor();
93 // NOLINTEND
94
95public:
96 // virtual function thunks
97 // NOLINTBEGIN
98 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
99
100 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
101
102 MCAPI void $handleEntityEvent(::ActorEvent eventId, int data);
103
104 MCAPI void $onLightningHit();
105 // NOLINTEND
106
107public:
108 // vftables
109 // NOLINTBEGIN
110 MCNAPI static void** $vftable();
111 // NOLINTEND
112};
Definition ActorDefinitionGroup.h:29
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition EntityContext.h:16
Definition Mob.h:47
Definition VillagerBase.h:19
static MCAPI void ** $vftable()
Definition ActorDefinitionIdentifier.h:15