LeviLamina
Loading...
Searching...
No Matches
VillagerCelebrationGoal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/FloatRange.h"
7#include "mc/util/json_util/JsonSchemaObjectNode.h"
8#include "mc/world/actor/ActorDefinitionTrigger.h"
9#include "mc/world/actor/ai/goal/BaseGoalDefinition.h"
10#include "mc/world/actor/ai/goal/Goal.h"
11#include "mc/world/level/Tick.h"
12
13// auto generated forward declare list
14// clang-format off
15class Mob;
16namespace JsonUtil { class EmptyClass; }
17// clang-format on
18
20public:
21 // VillagerCelebrationGoal inner types declare
22 // clang-format off
24 // clang-format on
25
26 // VillagerCelebrationGoal inner types define
28 public:
29 // member variables
30 // NOLINTBEGIN
31 ::ll::TypedStorage<4, 4, float> mDuration;
32 ::ll::TypedStorage<4, 8, ::FloatRange> mFireworksInterval;
33 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mCelebrationEndEvent;
34 // NOLINTEND
35
36 public:
37 // virtual functions
38 // NOLINTBEGIN
39 // vIndex: 0
40 virtual ~VillagerCelebrationDefinition() /*override*/ = default;
41 // NOLINTEND
42
43 public:
44 // static functions
45 // NOLINTBEGIN
46 MCNAPI static void buildSchema(
47 ::std::string const& name,
48 ::std::shared_ptr<::JsonUtil::JsonSchemaObjectNode<
51 );
52 // NOLINTEND
53
54 public:
55 // vftables
56 // NOLINTBEGIN
57 MCNAPI static void** $vftable();
58 // NOLINTEND
59 };
60
61public:
62 // member variables
63 // NOLINTBEGIN
64 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
65 ::ll::TypedStorage<8, 8, ::Tick> mNextFireworkTick;
66 ::ll::TypedStorage<8, 8, ::Tick> mEndTick;
67 ::ll::TypedStorage<4, 4, float> mDuration;
68 ::ll::TypedStorage<4, 8, ::FloatRange> mFireworksInterval;
69 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mCelebrationEndEvent;
70 // NOLINTEND
71
72public:
73 // prevent constructor by default
77
78public:
79 // virtual functions
80 // NOLINTBEGIN
81 // vIndex: 1
82 virtual bool canUse() /*override*/;
83
84 // vIndex: 2
85 virtual bool canContinueToUse() /*override*/;
86
87 // vIndex: 4
88 virtual void start() /*override*/;
89
90 // vIndex: 5
91 virtual void stop() /*override*/;
92
93 // vIndex: 6
94 virtual void tick() /*override*/;
95
96 // vIndex: 7
97 virtual void appendDebugInfo(::std::string& str) const /*override*/;
98
99 // vIndex: 0
100 virtual ~VillagerCelebrationGoal() /*override*/ = default;
101 // NOLINTEND
102
103public:
104 // member functions
105 // NOLINTBEGIN
106 MCNAPI void _launchFirework();
107
108 MCNAPI void _setNextFireworkTick();
109 // NOLINTEND
110
111public:
112 // virtual function thunks
113 // NOLINTBEGIN
114 MCNAPI bool $canUse();
115
116 MCNAPI bool $canContinueToUse();
117
118 MCNAPI void $start();
119
120 MCNAPI void $stop();
121
122 MCNAPI void $tick();
123
124 MCNAPI void $appendDebugInfo(::std::string& str) const;
125 // NOLINTEND
126
127public:
128 // vftables
129 // NOLINTBEGIN
130 MCNAPI static void** $vftable();
131 // NOLINTEND
132};
Definition BaseGoalDefinition.h:10
Definition Goal.h:14
Definition EmptyClass.h:7
Definition JsonSchemaObjectNode.h:8
Definition Mob.h:47
Definition VillagerCelebrationGoal.h:27
static MCAPI void buildSchema(::std::string const &name, ::std::shared_ptr<::JsonUtil::JsonSchemaObjectNode< ::JsonUtil::EmptyClass, ::VillagerCelebrationGoal::VillagerCelebrationDefinition > > &root)
Definition VillagerCelebrationGoal.h:19
MCAPI void _setNextFireworkTick()
static MCAPI void ** $vftable()
MCAPI void _launchFirework()
MCAPI void $appendDebugInfo(::std::string &str) const
MCAPI bool $canContinueToUse()