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
42 VillagerBase();
43
44public:
45 // virtual functions
46 // NOLINTBEGIN
47 virtual void addAdditionalSaveData(::CompoundTag& tag) const /*override*/;
48
49 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
50
51 virtual void handleEntityEvent(::ActorEvent event, int data) /*override*/;
52
53 virtual void onLightningHit() /*override*/;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCAPI VillagerBase(
60 ::ActorDefinitionGroup* definitions,
61 ::ActorDefinitionIdentifier const& definitionName,
62 ::EntityContext& entityContext
63 );
64
65 MCAPI void _addParticlesAroundSelf(::ParticleType particleType);
66
67 MCAPI void consumeLoveFood();
68
69 MCAPI int getBreedingStackIndex() const;
70
71 MCAPI void stopGoals();
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 $addAdditionalSaveData(::CompoundTag& tag) const;
88
89 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
90
91 MCAPI void $handleEntityEvent(::ActorEvent event, int data);
92
93 MCAPI void $onLightningHit();
94
95
96 // NOLINTEND
97};
Definition ActorDefinitionGroup.h:26
Definition CompoundTag.h:18
Definition DataLoadHelper.h:20
Definition EntityContext.h:15
Definition ActorDefinitionIdentifier.h:15