1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
|
package me.Danker.commands;
import java.text.NumberFormat;
import java.util.List;
import java.util.Locale;
import net.minecraft.command.CommandBase;
import net.minecraft.command.CommandException;
import net.minecraft.command.ICommandSender;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.BlockPos;
import net.minecraft.util.ChatComponentText;
import net.minecraft.util.EnumChatFormatting;
public class LootCommand extends CommandBase {
// Wolf
public static int wolfSvens;
public static int wolfTeeth;
public static int wolfWheels;
public static int wolfSpirits;
public static int wolfBooks;
public static int wolfEggs;
public static int wolfCoutures;
public static int wolfBaits;
public static int wolfFluxes;
public static double wolfTime;
public static int wolfBosses;
// Spider
public static int spiderTarantulas;
public static int spiderWebs;
public static int spiderTAP;
public static int spiderBites;
public static int spiderCatalysts;
public static int spiderBooks;
public static int spiderSwatters;
public static int spiderTalismans;
public static int spiderMosquitos;
public static double spiderTime;
public static int spiderBosses;
// Zombie
public static int zombieRevs;
public static int zombieRevFlesh;
public static int zombieFoulFlesh;
public static int zombiePestilences;
public static int zombieUndeadCatas;
public static int zombieBooks;
public static int zombieBeheadeds;
public static int zombieRevCatas;
public static int zombieSnakes;
public static int zombieScythes;
public static double zombieTime;
public static int zombieBosses;
// Fishing
public static int seaCreatures;
public static int goodCatches;
public static int greatCatches;
public static int squids;
public static int seaWalkers;
public static int nightSquids;
public static int seaGuardians;
public static int seaWitches;
public static int seaArchers;
public static int monsterOfTheDeeps;
public static int catfishes;
public static int carrotKings;
public static int seaLeeches;
public static int guardianDefenders;
public static int deepSeaProtectors;
public static int hydras;
public static int seaEmperors;
public static double empTime;
public static int empSCs;
public static int fishingMilestone;
// Fishing Winter
public static int frozenSteves;
public static int frostyTheSnowmans;
public static int grinches;
public static int yetis;
// Single sessions (No config saves)
// Wolf
public static int wolfSvensSession = 0;
public static int wolfTeethSession = 0;
public static int wolfWheelsSession = 0;
public static int wolfSpiritsSession = 0;
public static int wolfBooksSession = 0;
public static int wolfEggsSession = 0;
public static int wolfCouturesSession = 0;
public static int wolfBaitsSession = 0;
public static int wolfFluxesSession = 0;
public static double wolfTimeSession = -1;
public static int wolfBossesSession = -1;
// Spider
public static int spiderTarantulasSession = 0;
public static int spiderWebsSession = 0;
public static int spiderTAPSession = 0;
public static int spiderBitesSession = 0;
public static int spiderCatalystsSession = 0;
public static int spiderBooksSession = 0;
public static int spiderSwattersSession = 0;
public static int spiderTalismansSession = 0;
public static int spiderMosquitosSession = 0;
public static double spiderTimeSession = -1;
public static int spiderBossesSession = -1;
// Zombie
public static int zombieRevsSession = 0;
public static int zombieRevFleshSession = 0;
public static int zombieFoulFleshSession = 0;
public static int zombiePestilencesSession = 0;
public static int zombieUndeadCatasSession = 0;
public static int zombieBooksSession = 0;
public static int zombieBeheadedsSession = 0;
public static int zombieRevCatasSession = 0;
public static int zombieSnakesSession = 0;
public static int zombieScythesSession = 0;
public static double zombieTimeSession = -1;
public static int zombieBossesSession = -1;
// Fishing
public static int seaCreaturesSession = 0;
public static int goodCatchesSession = 0;
public static int greatCatchesSession = 0;
public static int squidsSession = 0;
public static int seaWalkersSession = 0;
public static int nightSquidsSession = 0;
public static int seaGuardiansSession = 0;
public static int seaWitchesSession = 0;
public static int seaArchersSession = 0;
public static int monsterOfTheDeepsSession = 0;
public static int catfishesSession = 0;
public static int carrotKingsSession = 0;
public static int seaLeechesSession = 0;
public static int guardianDefendersSession = 0;
public static int deepSeaProtectorsSession = 0;
public static int hydrasSession = 0;
public static int seaEmperorsSession = 0;
public static double empTimeSession = -1;
public static int empSCsSession = -1;
public static int fishingMilestoneSession = 0;
// Fishing Winter
public static int frozenStevesSession = 0;
public static int frostyTheSnowmansSession = 0;
public static int grinchesSession = 0;
public static int yetisSession = 0;
public String getTimeBetween(double timeOne, double timeTwo) {
double secondsBetween = Math.floor(timeTwo - timeOne);
String timeFormatted = "";
int days;
int hours;
int minutes;
int seconds;
if (secondsBetween > 86400) {
// More than 1d, display #d#h
days = (int) (secondsBetween / 86400);
hours = (int) (secondsBetween % 86400 / 3600);
timeFormatted = days + "d" + hours + "h";
} else if (secondsBetween > 3600) {
// More than 1h, display #h#m
hours = (int) (secondsBetween / 3600);
minutes = (int) (secondsBetween % 3600 / 60);
timeFormatted = hours + "h" + minutes + "m";
} else {
// Display #m#s
minutes = (int) (secondsBetween / 60);
seconds = (int) (secondsBetween % 60);
timeFormatted = minutes + "m" + seconds + "s";
}
return timeFormatted;
}
@Override
public String getCommandName() {
return "loot";
}
@Override
public String getCommandUsage(ICommandSender arg0) {
return getCommandName() + " <zombie/spider/wolf/fishing> [winter/session]";
}
@Override
public int getRequiredPermissionLevel() {
return 0;
}
@Override
public List<String> addTabCompletionOptions(ICommandSender sender, String[] args, BlockPos pos) {
if (args.length == 1) {
return getListOfStringsMatchingLastWord(args, "wolf", "spider", "zombie", "fishing");
} else if (args.length == 2 && args[0].equalsIgnoreCase("fishing")) {
return getListOfStringsMatchingLastWord(args, "winter", "session");
} else if (args.length == 2 || (args.length == 3 && args[0].equalsIgnoreCase("fishing") && args[1].equalsIgnoreCase("winter"))) {
return getListOfStringsMatchingLastWord(args, "session");
}
return null;
}
@Override
public void processCommand(ICommandSender arg0, String[] arg1) throws CommandException {
final EntityPlayer player = (EntityPlayer) arg0;
if (arg1.length == 0) {
player.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "Usage: /loot <zombie/spider/wolf/fishing> [winter/session]"));
return;
}
double timeNow = System.currentTimeMillis() / 1000;
String timeBetween;
String bossesBetween;
NumberFormat nf = NumberFormat.getIntegerInstance(Locale.US);
boolean showSession = false;
if (arg1.length > 1) {
if (arg1[1].equalsIgnoreCase("session")) {
showSession = true;
} else if (arg1.length > 2) {
if (arg1[2].equalsIgnoreCase("session")) {
showSession = true;
}
}
}
if (arg1[0].equalsIgnoreCase("wolf")) {
if (showSession) {
if (wolfTimeSession == -1) {
timeBetween = "Never";
} else {
timeBetween = getTimeBetween(wolfTimeSession, timeNow);
}
if (wolfBossesSession == -1) {
bossesBetween = "Never";
} else {
bossesBetween = nf.format(wolfBossesSession);
}
player.addChatMessage(new ChatComponentText(EnumChatFormatting.AQUA + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.DARK_AQUA + EnumChatFormatting.BOLD + " Sven Loot Summary (Current Session):\n" +
EnumChatFormatting.GOLD + " Svens Killed: " + nf.format(wolfSvensSession) + "\n" +
EnumChatFormatting.GREEN + " Wolf Teeth: " + nf.format(wolfTeethSession) + "\n" +
EnumChatFormatting.BLUE + " Hamster Wheels: " + nf.format(wolfWheelsSession) + "\n" +
EnumChatFormatting.AQUA + " Spirit Runes: " + wolfSpiritsSession + "\n" +
EnumChatFormatting.WHITE + " Critical VI Books: " + wolfBooksSession + "\n" +
EnumChatFormatting.DARK_RED + " Red Claw Eggs: " + wolfEggsSession + "\n" +
EnumChatFormatting.GOLD + " Couture Runes: " + wolfCouturesSession + "\n" +
EnumChatFormatting.AQUA + " Grizzly Baits: " + wolfBaitsSession + "\n" +
EnumChatFormatting.DARK_PURPLE + " Overfluxes: " + wolfFluxesSession + "\n" +
EnumChatFormatting.AQUA + " Time Since RNG: " + timeBetween + "\n" +
EnumChatFormatting.AQUA + " Bosses Since RNG: " + bossesBetween + "\n" +
EnumChatFormatting.AQUA + EnumChatFormatting.BOLD + " -------------------"));
return;
}
if (wolfTime == -1) {
timeBetween = "Never";
} else {
timeBetween = getTimeBetween(wolfTime, timeNow);
}
if (wolfBosses == -1) {
bossesBetween = "Never";
} else {
bossesBetween = nf.format(wolfBosses);
}
player.addChatMessage(new ChatComponentText(EnumChatFormatting.AQUA + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.DARK_AQUA + EnumChatFormatting.BOLD + " Sven Loot Summary:\n" +
EnumChatFormatting.GOLD + " Svens Killed: " + nf.format(wolfSvens) + "\n" +
EnumChatFormatting.GREEN + " Wolf Teeth: " + nf.format(wolfTeeth) + "\n" +
EnumChatFormatting.BLUE + " Hamster Wheels: " + nf.format(wolfWheels) + "\n" +
EnumChatFormatting.AQUA + " Spirit Runes: " + wolfSpirits + "\n" +
EnumChatFormatting.WHITE + " Critical VI Books: " + wolfBooks + "\n" +
EnumChatFormatting.DARK_RED + " Red Claw Eggs: " + wolfEggs + "\n" +
EnumChatFormatting.GOLD + " Couture Runes: " + wolfCoutures + "\n" +
EnumChatFormatting.AQUA + " Grizzly Baits: " + wolfBaits + "\n" +
EnumChatFormatting.DARK_PURPLE + " Overfluxes: " + wolfFluxes + "\n" +
EnumChatFormatting.AQUA + " Time Since RNG: " + timeBetween + "\n" +
EnumChatFormatting.AQUA + " Bosses Since RNG: " + bossesBetween + "\n" +
EnumChatFormatting.AQUA + EnumChatFormatting.BOLD + " -------------------"));
} else if (arg1[0].equalsIgnoreCase("spider")) {
if (showSession) {
if (spiderTimeSession == -1) {
timeBetween = "Never";
} else {
timeBetween = getTimeBetween(spiderTimeSession, timeNow);
}
if (spiderBossesSession == -1) {
bossesBetween = "Never";
} else {
bossesBetween = nf.format(spiderBossesSession);
}
player.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.DARK_RED + EnumChatFormatting.BOLD + " Spider Loot Summary (Current Session):\n" +
EnumChatFormatting.GOLD + " Tarantulas Killed: " + nf.format(spiderTarantulasSession) + "\n" +
EnumChatFormatting.GREEN + " Tarantula Webs: " + nf.format(spiderWebsSession) + "\n" +
EnumChatFormatting.DARK_GREEN + " Arrow Poison: " + nf.format(spiderTAPSession) + "\n" +
EnumChatFormatting.DARK_GRAY + " Bite Runes: " + spiderBitesSession + "\n" +
EnumChatFormatting.WHITE + " Bane VI Books: " + spiderBooksSession + "\n" +
EnumChatFormatting.AQUA + " Spider Catalysts: " + spiderCatalystsSession + "\n" +
EnumChatFormatting.DARK_PURPLE + " Tarantula Talismans: " + spiderTalismansSession + "\n" +
EnumChatFormatting.LIGHT_PURPLE + " Fly Swatters: " + spiderSwattersSession + "\n" +
EnumChatFormatting.GOLD + " Digested Mosquitos: " + spiderMosquitosSession + "\n" +
EnumChatFormatting.AQUA + " Time Since RNG: " + timeBetween + "\n" +
EnumChatFormatting.AQUA + " Bosses Since RNG: " + bossesBetween + "\n" +
EnumChatFormatting.RED + EnumChatFormatting.BOLD + " -------------------"));
return;
}
if (spiderTime == -1) {
timeBetween = "Never";
} else {
timeBetween = getTimeBetween(spiderTime, timeNow);
}
if (spiderBosses == -1) {
bossesBetween = "Never";
} else {
bossesBetween = nf.format(spiderBosses);
}
player.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.DARK_RED + EnumChatFormatting.BOLD + " Spider Loot Summary:\n" +
EnumChatFormatting.GOLD + " Tarantulas Killed: " + nf.format(spiderTarantulas) + "\n" +
EnumChatFormatting.GREEN + " Tarantula Webs: " + nf.format(spiderWebs) + "\n" +
EnumChatFormatting.DARK_GREEN + " Arrow Poison: " + nf.format(spiderTAP) + "\n" +
EnumChatFormatting.DARK_GRAY + " Bite Runes: " + spiderBites + "\n" +
EnumChatFormatting.WHITE + " Bane VI Books: " + spiderBooks + "\n" +
EnumChatFormatting.AQUA + " Spider Catalysts: " + spiderCatalysts + "\n" +
EnumChatFormatting.DARK_PURPLE + " Tarantula Talismans: " + spiderTalismans + "\n" +
EnumChatFormatting.LIGHT_PURPLE + " Fly Swatters: " + spiderSwatters + "\n" +
EnumChatFormatting.GOLD + " Digested Mosquitos: " + spiderMosquitos + "\n" +
EnumChatFormatting.AQUA + " Time Since RNG: " + timeBetween + "\n" +
EnumChatFormatting.AQUA + " Bosses Since RNG: " + bossesBetween + "\n" +
EnumChatFormatting.RED + EnumChatFormatting.BOLD + " -------------------"));
} else if (arg1[0].equalsIgnoreCase("zombie")) {
if (showSession) {
if (zombieTimeSession == -1) {
timeBetween = "Never";
} else {
timeBetween = getTimeBetween(zombieTimeSession, timeNow);
}
if (zombieBossesSession == -1) {
bossesBetween = "Never";
} else {
bossesBetween = nf.format(zombieBossesSession);
}
player.addChatMessage(new ChatComponentText(EnumChatFormatting.GREEN + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.DARK_GREEN + EnumChatFormatting.BOLD + " Zombie Loot Summary (Current Session):\n" +
EnumChatFormatting.GOLD + " Revs Killed: " + nf.format(zombieRevsSession) + "\n" +
EnumChatFormatting.GREEN + " Revenant Flesh: " + nf.format(zombieRevFleshSession) + "\n" +
EnumChatFormatting.BLUE + " Foul Flesh: " + nf.format(zombieFoulFleshSession) + "\n" +
EnumChatFormatting.DARK_GREEN + " Pestilence Runes: " + zombiePestilencesSession + "\n" +
EnumChatFormatting.WHITE + " Smite VI Books: " + zombieBooksSession + "\n" +
EnumChatFormatting.AQUA + " Undead Catalysts: " + zombieUndeadCatasSession + "\n" +
EnumChatFormatting.DARK_PURPLE + " Beheaded Horrors: " + zombieBeheadedsSession + "\n" +
EnumChatFormatting.RED + " Revenant Catalysts: " + zombieRevCatasSession + "\n" +
EnumChatFormatting.DARK_GREEN + " Snake Runes: " + zombieSnakesSession + "\n" +
EnumChatFormatting.GOLD + " Scythe Blades: " + zombieScythesSession + "\n" +
EnumChatFormatting.AQUA + " Time Since RNG: " + timeBetween + "\n" +
EnumChatFormatting.AQUA + " Bosses Since RNG: " + bossesBetween + "\n" +
EnumChatFormatting.GREEN + EnumChatFormatting.BOLD + " -------------------"));
return;
}
if (zombieTime == -1) {
timeBetween = "Never";
} else {
timeBetween = getTimeBetween(zombieTime, timeNow);
}
if (zombieBosses == -1) {
bossesBetween = "Never";
} else {
bossesBetween = nf.format(zombieBosses);
}
player.addChatMessage(new ChatComponentText(EnumChatFormatting.GREEN + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.DARK_GREEN + EnumChatFormatting.BOLD + " Zombie Loot Summary:\n" +
EnumChatFormatting.GOLD + " Revs Killed: " + nf.format(zombieRevs) + "\n" +
EnumChatFormatting.GREEN + " Revenant Flesh: " + nf.format(zombieRevFlesh) + "\n" +
EnumChatFormatting.BLUE + " Foul Flesh: " + nf.format(zombieFoulFlesh) + "\n" +
EnumChatFormatting.DARK_GREEN + " Pestilence Runes: " + zombiePestilences + "\n" +
EnumChatFormatting.WHITE + " Smite VI Books: " + zombieBooks + "\n" +
EnumChatFormatting.AQUA + " Undead Catalysts: " + zombieUndeadCatas + "\n" +
EnumChatFormatting.DARK_PURPLE + " Beheaded Horrors: " + zombieBeheadeds + "\n" +
EnumChatFormatting.RED + " Revenant Catalysts: " + zombieRevCatas + "\n" +
EnumChatFormatting.DARK_GREEN + " Snake Runes: " + zombieSnakes + "\n" +
EnumChatFormatting.GOLD + " Scythe Blades: " + zombieScythes + "\n" +
EnumChatFormatting.AQUA + " Time Since RNG: " + timeBetween + "\n" +
EnumChatFormatting.AQUA + " Bosses Since RNG: " + bossesBetween + "\n" +
EnumChatFormatting.GREEN + EnumChatFormatting.BOLD + " -------------------"));
} else if (arg1[0].equalsIgnoreCase("fishing")) {
if (arg1.length > 1) {
if (arg1[1].equalsIgnoreCase("winter")) {
if (showSession) {
player.addChatMessage(new ChatComponentText(EnumChatFormatting.AQUA + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.WHITE + EnumChatFormatting.BOLD + " Winter Fishing Summary (Current Session):\n" +
EnumChatFormatting.AQUA + " Frozen Steves: " + nf.format(frozenStevesSession) + "\n" +
EnumChatFormatting.WHITE + " Snowmans: " + nf.format(frostyTheSnowmansSession) + "\n" +
EnumChatFormatting.DARK_GREEN + " Grinches: " + nf.format(grinchesSession) + "\n" +
EnumChatFormatting.GOLD + " Yetis: " + nf.format(yetisSession) + "\n" +
EnumChatFormatting.AQUA + EnumChatFormatting.BOLD + " -------------------"));
return;
}
player.addChatMessage(new ChatComponentText(EnumChatFormatting.AQUA + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.WHITE + EnumChatFormatting.BOLD + " Winter Fishing Summary:\n" +
EnumChatFormatting.AQUA + " Frozen Steves: " + nf.format(frozenSteves) + "\n" +
EnumChatFormatting.WHITE + " Snowmans: " + nf.format(frostyTheSnowmans) + "\n" +
EnumChatFormatting.DARK_GREEN + " Grinches: " + nf.format(grinches) + "\n" +
EnumChatFormatting.GOLD + " Yetis: " + nf.format(yetis) + "\n" +
EnumChatFormatting.AQUA + EnumChatFormatting.BOLD + " -------------------"));
return;
}
}
if (showSession) {
if (empTimeSession == -1) {
timeBetween = "Never";
} else {
timeBetween = getTimeBetween(empTimeSession, timeNow);
}
if (empSCsSession == -1) {
bossesBetween = "Never";
} else {
bossesBetween = nf.format(empSCsSession);
}
player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_AQUA + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.AQUA + EnumChatFormatting.BOLD + " Fishing Summary (Current Session):\n" +
EnumChatFormatting.AQUA + " Sea Creatures Caught: " + nf.format(seaCreaturesSession) + "\n" +
EnumChatFormatting.GOLD + " Good Catches: " + nf.format(goodCatchesSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Great Catches: " + nf.format(greatCatchesSession) + "\n\n" +
EnumChatFormatting.GRAY + " Squids: " + nf.format(squidsSession) + "\n" +
EnumChatFormatting.GREEN + " Sea Walkers: " + nf.format(seaWalkersSession) + "\n" +
EnumChatFormatting.DARK_GRAY + " Night Squids: " + nf.format(nightSquidsSession) + "\n" +
EnumChatFormatting.DARK_AQUA + " Sea Guardians: " + nf.format(seaGuardiansSession) + "\n" +
EnumChatFormatting.BLUE + " Sea Witches: " + nf.format(seaWitchesSession) + "\n" +
EnumChatFormatting.GREEN + " Sea Archers: " + nf.format(seaArchersSession) + "\n" +
EnumChatFormatting.GREEN + " Monster of the Deeps: " + nf.format(monsterOfTheDeepsSession) + "\n" +
EnumChatFormatting.YELLOW + " Catfishes: " + nf.format(catfishesSession) + "\n" +
EnumChatFormatting.GOLD + " Carrot Kings: " + nf.format(carrotKingsSession) + "\n" +
EnumChatFormatting.GRAY + " Sea Leeches: " + nf.format(seaLeechesSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Guardian Defenders: " + nf.format(guardianDefendersSession) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Deep Sea Protectors: " + nf.format(deepSeaProtectorsSession) + "\n" +
EnumChatFormatting.GOLD + " Hydras: " + nf.format(hydrasSession) + "\n" +
EnumChatFormatting.GOLD + " Sea Emperors: " + nf.format(seaEmperorsSession) + "\n" +
EnumChatFormatting.AQUA + " Time Since Sea Emperor: " + timeBetween + "\n" +
EnumChatFormatting.AQUA + " Sea Creatures Since Sea Emperor: " + bossesBetween + "\n" +
EnumChatFormatting.DARK_AQUA + EnumChatFormatting.BOLD + " -------------------"));
return;
}
if (empTime == -1) {
timeBetween = "Never";
} else {
timeBetween = getTimeBetween(empTime, timeNow);
}
if (empSCs == -1) {
bossesBetween = "Never";
} else {
bossesBetween = nf.format(empSCs);
}
player.addChatMessage(new ChatComponentText(EnumChatFormatting.DARK_AQUA + "" + EnumChatFormatting.BOLD + "-------------------\n" +
EnumChatFormatting.AQUA + EnumChatFormatting.BOLD + " Fishing Summary:\n" +
EnumChatFormatting.AQUA + " Sea Creatures Caught: " + nf.format(seaCreatures) + "\n" +
EnumChatFormatting.GOLD + " Good Catches: " + nf.format(goodCatches) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Great Catches: " + nf.format(greatCatches) + "\n\n" +
EnumChatFormatting.GRAY + " Squids: " + nf.format(squids) + "\n" +
EnumChatFormatting.GREEN + " Sea Walkers: " + nf.format(seaWalkers) + "\n" +
EnumChatFormatting.DARK_GRAY + " Night Squids: " + nf.format(nightSquids) + "\n" +
EnumChatFormatting.DARK_AQUA + " Sea Guardians: " + nf.format(seaGuardians) + "\n" +
EnumChatFormatting.BLUE + " Sea Witches: " + nf.format(seaWitches) + "\n" +
EnumChatFormatting.GREEN + " Sea Archers: " + nf.format(seaArchers) + "\n" +
EnumChatFormatting.GREEN + " Monster of the Deeps: " + nf.format(monsterOfTheDeeps) + "\n" +
EnumChatFormatting.YELLOW + " Catfishes: " + nf.format(catfishes) + "\n" +
EnumChatFormatting.GOLD + " Carrot Kings: " + nf.format(carrotKings) + "\n" +
EnumChatFormatting.GRAY + " Sea Leeches: " + nf.format(seaLeeches) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Guardian Defenders: " + nf.format(guardianDefenders) + "\n" +
EnumChatFormatting.DARK_PURPLE + " Deep Sea Protectors: " + nf.format(deepSeaProtectors) + "\n" +
EnumChatFormatting.GOLD + " Hydras: " + nf.format(hydras) + "\n" +
EnumChatFormatting.GOLD + " Sea Emperors: " + nf.format(seaEmperors) + "\n" +
EnumChatFormatting.AQUA + " Time Since Sea Emperor: " + timeBetween + "\n" +
EnumChatFormatting.AQUA + " Sea Creatures Since Sea Emperor: " + bossesBetween + "\n" +
EnumChatFormatting.DARK_AQUA + EnumChatFormatting.BOLD + " -------------------"));
} else {
player.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "Usage: /loot <zombie/spider/wolf/fishing> [winter/session]"));
}
}
}
|