LeviLamina
Loading...
Searching...
No Matches
JsonComponentGlueUtils.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
8class EntityContext;
10class LayEggGoal;
15class Mob;
16class PlayDeadGoal;
17class PlayGoal;
19class RamAttackGoal;
23class TakeFlowerGoal;
24class TargetGoal;
28class WorkGoal;
30namespace SharedTypes { struct TargetGoalDefinition; }
31namespace SharedTypes { struct TimerActorFlagBaseGoalDefinition; }
32namespace SharedTypes::v1_21_100 { struct TransportItemsGoalDefinition; }
33namespace SharedTypes::v1_21_110 { struct SwimUpForBreathGoalDefinition; }
34namespace SharedTypes::v1_21_120 { struct MeleeAttackBaseGoalDefinition; }
35namespace SharedTypes::v1_21_130 { struct AddRiderComponentDefinition; }
36namespace SharedTypes::v1_26_0 { struct ExperienceRewardComponentDefinition; }
37namespace SharedTypes::v1_26_0 { struct LookAtPlayerGoalDefinition; }
38namespace SharedTypes::v1_26_0 { struct LookAtTargetGoalDefinition; }
39namespace SharedTypes::v1_26_0 { struct LookAtTradingPlayerGoalDefinition; }
40namespace SharedTypes::v1_26_0 { struct NearestAttackableTargetGoalDefinition; }
41namespace SharedTypes::v1_26_10 { struct DropItemForGoalDefinition; }
42namespace SharedTypes::v1_26_10 { struct LayEggGoalDefinition; }
43namespace SharedTypes::v1_26_10 { struct PlayDeadGoalDefinition; }
44namespace SharedTypes::v1_26_10 { struct PlayGoalDefinition; }
45namespace SharedTypes::v1_26_10 { struct RaiderCelebrationGoalDefinition; }
46namespace SharedTypes::v1_26_10 { struct RamAttackGoalDefinition; }
47namespace SharedTypes::v1_26_10 { struct RandomSearchAndDigGoalDefinition; }
48namespace SharedTypes::v1_26_10 { struct SwimWithEntityGoalDefinition; }
49namespace SharedTypes::v1_26_10 { struct TakeFlowerGoalDefinition; }
50namespace SharedTypes::v1_26_10 { struct VillagerCelebrationGoalDefinition; }
51namespace SharedTypes::v1_26_10 { struct WorkGoalDefinition; }
52// clang-format on
53
54namespace JsonComponentGlueUtils {
55// functions
56// NOLINTBEGIN
57MCNAPI void initialize(
58 ::EntityContext&,
59 ::AddRiderComponent& component,
60 ::SharedTypes::v1_21_130::AddRiderComponentDefinition const& loadedData
61);
62
63MCNAPI void initialize(
64 ::EntityContext&,
65 ::DropItemForGoal& goal,
66 ::SharedTypes::v1_26_10::DropItemForGoalDefinition const& definition
67);
68
69MCNAPI void
70initialize(::EntityContext&, ::LayEggGoal& goal, ::SharedTypes::v1_26_10::LayEggGoalDefinition const& definition);
71
72MCNAPI void
73initialize(::EntityContext&, ::PlayDeadGoal& goal, ::SharedTypes::v1_26_10::PlayDeadGoalDefinition const& definition);
74
75MCNAPI void
76initialize(::EntityContext&, ::PlayGoal& goal, ::SharedTypes::v1_26_10::PlayGoalDefinition const& definition);
77
78MCNAPI void initialize(
79 ::EntityContext&,
80 ::RaiderCelebrationGoal& goal,
81 ::SharedTypes::v1_26_10::RaiderCelebrationGoalDefinition const& definition
82);
83
84MCNAPI void
85initialize(::EntityContext&, ::RamAttackGoal& goal, ::SharedTypes::v1_26_10::RamAttackGoalDefinition const& definition);
86
87MCNAPI void initialize(
88 ::EntityContext&,
89 ::RandomSearchAndDigGoal& goal,
90 ::SharedTypes::v1_26_10::RandomSearchAndDigGoalDefinition const& definition
91);
92
93MCNAPI void initialize(
94 ::EntityContext&,
95 ::SwimUpForBreathGoal& goal,
96 ::SharedTypes::v1_21_110::SwimUpForBreathGoalDefinition definition
97);
98
99MCNAPI void initialize(
100 ::EntityContext&,
101 ::SwimWithEntityGoal& goal,
102 ::SharedTypes::v1_26_10::SwimWithEntityGoalDefinition const& definition
103);
104
105MCNAPI void initialize(
106 ::EntityContext&,
107 ::TakeFlowerGoal& goal,
108 ::SharedTypes::v1_26_10::TakeFlowerGoalDefinition const& definition
109);
110
111MCNAPI void initialize(
112 ::EntityContext&,
113 ::TimerActorFlagBaseGoal& goal,
114 ::SharedTypes::TimerActorFlagBaseGoalDefinition const& definition
115);
116
117MCNAPI void initialize(
118 ::EntityContext&,
119 ::TransportItemsGoal& goal,
120 ::SharedTypes::v1_21_100::TransportItemsGoalDefinition const& definition
121);
122
123MCNAPI void initialize(
124 ::EntityContext&,
125 ::VillagerCelebrationGoal& goal,
126 ::SharedTypes::v1_26_10::VillagerCelebrationGoalDefinition const& definition
127);
128
129MCNAPI void initialize(
130 ::EntityContext&,
131 ::ExperienceRewardComponent& runtimeComponent,
132 ::SharedTypes::v1_26_0::ExperienceRewardComponentDefinition const& loadedData
133);
134
135MCNAPI void initialize(
136 ::EntityContext& entity,
137 ::LookAtPlayerGoal& goal,
138 ::SharedTypes::v1_26_0::LookAtPlayerGoalDefinition const& definition
139);
140
141MCNAPI void initialize(
142 ::EntityContext& entity,
143 ::LookAtTargetGoal& goal,
144 ::SharedTypes::v1_26_0::LookAtTargetGoalDefinition const& definition
145);
146
147MCNAPI void initialize(
148 ::EntityContext& entity,
149 ::LookAtTradingPlayerGoal& goal,
150 ::SharedTypes::v1_26_0::LookAtTradingPlayerGoalDefinition const& definition
151);
152
153MCNAPI void initializeMeleeAttackBaseGoal(
154 ::MeleeAttackBaseGoal& goal,
155 ::SharedTypes::v1_21_120::MeleeAttackBaseGoalDefinition const& definition
156);
157
158MCNAPI void
159initializeTargetGoal(::EntityContext&, ::TargetGoal& goal, ::SharedTypes::TargetGoalDefinition const& definition);
160
161MCNAPI void initializeWorkGoal(::WorkGoal& goal, ::SharedTypes::v1_26_10::WorkGoalDefinition const& definition);
162
163MCNAPI bool validate(::SharedTypes::v1_26_0::NearestAttackableTargetGoalDefinition const& definition, ::Mob const& mob);
164// NOLINTEND
165
166} // namespace JsonComponentGlueUtils
Definition DropItemForGoal.h:20
Definition EntityContext.h:16
Definition ExperienceRewardComponent.h:11
Definition LayEggGoal.h:20
Definition LookAtPlayerGoal.h:8
Definition LookAtTargetGoal.h:8
Definition LookAtTradingPlayerGoal.h:13
Definition MeleeAttackBaseGoal.h:20
Definition Mob.h:51
Definition PlayDeadGoal.h:16
Definition PlayGoal.h:16
Definition RaiderCelebrationGoal.h:16
Definition RamAttackGoal.h:22
Definition RandomSearchAndDigGoal.h:20
Definition SwimUpForBreathGoal.h:15
Definition SwimWithEntityGoal.h:16
Definition TakeFlowerGoal.h:17
Definition TargetGoal.h:15
Definition TimerActorFlagBaseGoal.h:17
Definition TransportItemsGoal.h:20
Definition VillagerCelebrationGoal.h:16
Definition WorkGoal.h:16
Definition AddRiderComponent.h:11
Definition TargetGoalDefinition.h:16
Definition TimerActorFlagBaseGoalDefinition.h:17
Definition TransportItemsGoalDefinition.h:18
Definition SwimUpForBreathGoalDefinition.h:15
Definition MeleeAttackBaseGoalDefinition.h:16
Definition AddRiderComponentDefinition.h:12
Definition ExperienceRewardComponentDefinition.h:15
Definition LookAtPlayerGoalDefinition.h:15
Definition LookAtTargetGoalDefinition.h:15
Definition LookAtTradingPlayerGoalDefinition.h:15
Definition NearestAttackableTargetGoalDefinition.h:16
Definition DropItemForGoalDefinition.h:19
Definition LayEggGoalDefinition.h:17
Definition PlayDeadGoalDefinition.h:18
Definition PlayGoalDefinition.h:17
Definition RaiderCelebrationGoalDefinition.h:18
Definition RamAttackGoalDefinition.h:18
Definition RandomSearchAndDigGoalDefinition.h:18
Definition SwimWithEntityGoalDefinition.h:16
Definition TakeFlowerGoalDefinition.h:18
Definition VillagerCelebrationGoalDefinition.h:17
Definition WorkGoalDefinition.h:16