@@ -128,18 +128,83 @@ private NoArgsCallback selectRandomItem() {
128
128
129
129
private NoArgsCallback randomName () {
130
130
return () -> {
131
- String [] moods = {faker .mood ().emotion (), faker .mood ().tone (), faker .mood ().feeling ()};
132
- String mood = moods [rand .nextInt (moods .length )];
131
+ String [] prefixes = {
132
+ faker .mood ().emotion (),
133
+ faker .mood ().tone (),
134
+ faker .mood ().feeling (),
135
+ faker .color ().name (),
136
+ faker .coffee ().intensifier (),
137
+ faker .company ().buzzword (),
138
+ faker .dungeonsAndDragons ().languages (),
139
+ faker .size ().adjective (),
140
+ faker .subscription ().subscriptionTerms (),
141
+ };
142
+ // printer(Arrays.toString(prefixes));
143
+ String prefix = prefixes [rand .nextInt (prefixes .length )];
133
144
134
145
String [] names = {
135
- faker .superhero ().power (),
136
- faker .hacker ().ingverb (),
137
- faker .hacker ().noun (),
138
- faker .hacker ().verb (),
146
+ // faker.superhero().power(),
147
+ // faker.superhero().name(),
148
+ faker .hacker ().ingverb (),
149
+ faker .hacker ().noun (),
150
+ faker .hacker ().verb (),
151
+ faker .food ().fruit (),
152
+ faker .food ().ingredient (),
153
+ faker .food ().vegetable (),
154
+ faker .verb ().ingForm (),
155
+ faker .verb ().past (),
156
+ faker .verb ().pastParticiple (),
157
+ faker .appliance ().equipment (),
158
+ faker .coffee ().body (),
159
+ faker .darkSoul ().classes (),
160
+ faker .darkSoul ().stats (),
161
+ faker .pokemon ().type (),
162
+ faker .dessert ().flavor (),
139
163
};
164
+ // printer(Arrays.toString(names));
140
165
String name = names [rand .nextInt (names .length )];
141
166
142
- String [] generators = {mood , name };
167
+ String [] suffixes = {
168
+ faker .animal ().name (),
169
+ faker .weather ().description (),
170
+ faker .address ().streetSuffix (),
171
+ faker .address ().citySuffix (),
172
+ faker .battlefield1 ().classes (),
173
+ faker .coffee ().descriptor (),
174
+ faker .company ().profession (),
175
+ faker .construction ().heavyEquipment (),
176
+ faker .construction ().materials (),
177
+ faker .cosmere ().shards (),
178
+ faker .cosmere ().surges (),
179
+ faker .cosmere ().knightsRadiant (),
180
+ faker .cosmere ().metals (),
181
+ faker .cosmere ().allomancers (),
182
+ faker .cosmere ().feruchemists (),
183
+ faker .dessert ().variety (),
184
+ faker .dessert ().topping (),
185
+ faker .dungeonsAndDragons ().klasses (),
186
+ faker .dungeonsAndDragons ().meleeWeapons (),
187
+ faker .dungeonsAndDragons ().monsters (),
188
+ faker .dungeonsAndDragons ().races (),
189
+ faker .dungeonsAndDragons ().rangedWeapons (),
190
+ faker .electricalComponents ().active (),
191
+ faker .electricalComponents ().passive (),
192
+ faker .electricalComponents ().electromechanical (),
193
+ faker .house ().furniture (),
194
+ faker .house ().room (),
195
+ faker .pokemon ().move (),
196
+ faker .restaurant ().nameSuffix (),
197
+ faker .science ().element (),
198
+ faker .science ().quark (),
199
+ faker .science ().leptons (),
200
+ faker .science ().bosons (),
201
+ faker .science ().tool (),
202
+ faker .team ().creature (),
203
+ };
204
+ // printer(Arrays.toString(suffixes));
205
+ String suffix = suffixes [rand .nextInt (suffixes .length )];
206
+
207
+ String [] generators = {prefix , name , suffix };
143
208
String generatedString = String .join (" " , Arrays .asList (generators ));
144
209
nameOutput .set (generatedString .toLowerCase (Locale .ROOT ));
145
210
0 commit comments