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 // virtual functions
42 // NOLINTBEGIN
43 // vIndex: 137
44 virtual void addAdditionalSaveData(::CompoundTag& tag) const /*override*/;
45
46 // vIndex: 136
47 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
48
49 // vIndex: 69
50 virtual void handleEntityEvent(::ActorEvent eventId, int data) /*override*/;
51
52 // vIndex: 67
53 virtual void onLightningHit() /*override*/;
54
55 // vIndex: 8
56 virtual ~VillagerBase() /*override*/;
57 // NOLINTEND
58
59public:
60 // member functions
61 // NOLINTBEGIN
62 MCAPI VillagerBase(
63 ::ActorDefinitionGroup* definitions,
64 ::ActorDefinitionIdentifier const& definitionName,
65 ::EntityContext& entityContext
66 );
67
68 MCAPI void _addParticlesAroundSelf(::ParticleType particleType);
69
70 MCAPI void consumeLoveFood();
71
72 MCAPI int getBreedingStackIndex() const;
73 // NOLINTEND
74
75public:
76 // constructor thunks
77 // NOLINTBEGIN
78 MCAPI void* $ctor(
79 ::ActorDefinitionGroup* definitions,
80 ::ActorDefinitionIdentifier const& definitionName,
81 ::EntityContext& entityContext
82 );
83 // NOLINTEND
84
85public:
86 // destructor thunk
87 // NOLINTBEGIN
88 MCFOLD void $dtor();
89 // NOLINTEND
90
91public:
92 // virtual function thunks
93 // NOLINTBEGIN
94 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
95
96 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
97
98 MCAPI void $onLightningHit();
99 // NOLINTEND
100
101public:
102 // vftables
103 // NOLINTBEGIN
104 MCAPI static void** $vftable();
105 // NOLINTEND
106};
Definition ActorDefinitionGroup.h:27
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition EntityContext.h:16
Definition Mob.h:47
Definition VillagerBase.h:19
Definition ActorDefinitionIdentifier.h:13