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
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
|
package de.hysky.skyblocker.config;
import de.hysky.skyblocker.SkyblockerMod;
import de.hysky.skyblocker.skyblock.item.CustomArmorTrims;
import de.hysky.skyblocker.utils.chat.ChatFilterResult;
import de.hysky.skyblocker.utils.waypoint.Waypoint;
import dev.isxander.yacl3.config.v2.api.SerialEntry;
import it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap;
import it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap;
import it.unimi.dsi.fastutil.objects.ObjectOpenHashSet;
import net.minecraft.client.resource.language.I18n;
import net.minecraft.text.Text;
import net.minecraft.util.Formatting;
import net.minecraft.util.Identifier;
import java.util.ArrayList;
import java.util.List;
public class SkyblockerConfig {
@SerialEntry
public int version = 1;
@SerialEntry
public General general = new General();
@SerialEntry
public Locations locations = new Locations();
@SerialEntry
public Slayer slayer = new Slayer();
@SerialEntry
public QuickNav quickNav = new QuickNav();
@SerialEntry
public Messages messages = new Messages();
@SerialEntry
public RichPresence richPresence = new RichPresence();
public static class QuickNav {
@SerialEntry
public boolean enableQuickNav = true;
@SerialEntry
public QuickNavItem button1 = new QuickNavItem(true, new ItemData("diamond_sword"), "Your Skills", "/skills");
@SerialEntry
public QuickNavItem button2 = new QuickNavItem(true, new ItemData("painting"), "Collections", "/collection");
/* REGEX Explanation
* "Pets" : simple match on letters
* "(?: \\(\\d+\\/\\d+\\))?" : optional match on the non-capturing group for the page in the format " ($number/$number)"
*/
@SerialEntry
public QuickNavItem button3 = new QuickNavItem(true, new ItemData("bone"), "Pets(:? \\(\\d+\\/\\d+\\))?", "/pets");
/* REGEX Explanation
* "Wardrobe" : simple match on letters
* " \\([12]\\/2\\)" : match on the page either " (1/2)" or " (2/2)"
*/
@SerialEntry
public QuickNavItem button4 = new QuickNavItem(true,
new ItemData("leather_chestplate", 1, "tag:{display:{color:8991416}}"), "Wardrobe \\([12]/2\\)",
"/wardrobe");
@SerialEntry
public QuickNavItem button5 = new QuickNavItem(true, new ItemData("player_head", 1,
"tag:{SkullOwner:{Id:[I;-2081424676,-57521078,-2073572414,158072763],Properties:{textures:[{Value:\"ewogICJ0aW1lc3RhbXAiIDogMTU5MTMxMDU4NTYwOSwKICAicHJvZmlsZUlkIiA6ICI0MWQzYWJjMmQ3NDk0MDBjOTA5MGQ1NDM0ZDAzODMxYiIsCiAgInByb2ZpbGVOYW1lIiA6ICJNZWdha2xvb24iLAogICJzaWduYXR1cmVSZXF1aXJlZCIgOiB0cnVlLAogICJ0ZXh0dXJlcyIgOiB7CiAgICAiU0tJTiIgOiB7CiAgICAgICJ1cmwiIDogImh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODBhMDc3ZTI0OGQxNDI3NzJlYTgwMDg2NGY4YzU3OGI5ZDM2ODg1YjI5ZGFmODM2YjY0YTcwNjg4MmI2ZWMxMCIKICAgIH0KICB9Cn0=\"}]}}}"),
"Sack of Sacks", "/sacks");
/* REGEX Explanation
* "(?:Rift )?" : optional match on the non-capturing group "Rift "
* "Storage" : simple match on letters
* "(?: \\([12]\\/2\\))?" : optional match on the non-capturing group " (1/2)" or " (2/2)"
*/
@SerialEntry
public QuickNavItem button6 = new QuickNavItem(true, new ItemData("ender_chest"),
"(?:Rift )?Storage(?: \\(1/2\\))?", "/storage");
@SerialEntry
public QuickNavItem button7 = new QuickNavItem(true, new ItemData("player_head", 1,
"tag:{SkullOwner:{Id:[I;-300151517,-631415889,-1193921967,-1821784279],Properties:{textures:[{Value:\"e3RleHR1cmVzOntTS0lOOnt1cmw6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDdjYzY2ODc0MjNkMDU3MGQ1NTZhYzUzZTA2NzZjYjU2M2JiZGQ5NzE3Y2Q4MjY5YmRlYmVkNmY2ZDRlN2JmOCJ9fX0=\"}]}}}"),
"none", "/hub");
@SerialEntry
public QuickNavItem button8 = new QuickNavItem(true, new ItemData("player_head", 1,
"tag:{SkullOwner:{Id:[I;1605800870,415127827,-1236127084,15358548],Properties:{textures:[{Value:\"e3RleHR1cmVzOntTS0lOOnt1cmw6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzg5MWQ1YjI3M2ZmMGJjNTBjOTYwYjJjZDg2ZWVmMWM0MGExYjk0MDMyYWU3MWU3NTQ3NWE1NjhhODI1NzQyMSJ9fX0=\"}]}}}"),
"none", "/warp dungeon_hub");
@SerialEntry
public QuickNavItem button9 = new QuickNavItem(true, new ItemData("player_head", 1,
"tag:{SkullOwner:{Id:[I;-562285948,532499670,-1705302742,775653035],Properties:{textures:[{Value:\"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjVkZjU1NTkyNjQzMGQ1ZDc1YWRlZDIxZGQ5NjE5Yjc2YzViN2NhMmM3ZjU0MDE0NDA1MjNkNTNhOGJjZmFhYiJ9fX0=\"}]}}}"),
"Visit prtl", "/visit prtl");
@SerialEntry
public QuickNavItem button10 = new QuickNavItem(true, new ItemData("enchanting_table"), "Enchant Item",
"/etable");
@SerialEntry
public QuickNavItem button11 = new QuickNavItem(true, new ItemData("anvil"), "Anvil", "/anvil");
@SerialEntry
public QuickNavItem button12 = new QuickNavItem(true, new ItemData("crafting_table"), "Craft Item", "/craft");
}
public static class QuickNavItem {
public QuickNavItem(Boolean render, ItemData itemData, String uiTitle, String clickEvent) {
this.render = render;
this.item = itemData;
this.clickEvent = clickEvent;
this.uiTitle = uiTitle;
}
@SerialEntry
public Boolean render;
@SerialEntry
public ItemData item;
@SerialEntry
public String uiTitle;
@SerialEntry
public String clickEvent;
}
public static class ItemData {
public ItemData(String itemName, int count, String nbt) {
this.itemName = itemName;
this.count = count;
this.nbt = nbt;
}
public ItemData(String itemName) {
this.itemName = itemName;
this.count = 1;
this.nbt = "";
}
@SerialEntry
public String itemName;
@SerialEntry
public int count;
@SerialEntry
public String nbt;
}
public static class General {
@SerialEntry
public boolean enableTips = true;
@SerialEntry
public boolean acceptReparty = true;
@SerialEntry
public boolean betterPartyFinder = true;
@SerialEntry
public boolean backpackPreviewWithoutShift = false;
@SerialEntry
public boolean compactorDeletorPreview = true;
@SerialEntry
public boolean hideEmptyTooltips = true;
@SerialEntry
public boolean hideStatusEffectOverlay = false;
@SerialEntry
public boolean dontStripSkinAlphaValues = true;
@SerialEntry
public TabHudConf tabHud = new TabHudConf();
@SerialEntry
public Bars bars = new Bars();
@SerialEntry
public Experiments experiments = new Experiments();
@SerialEntry
public Fishing fishing = new Fishing();
@SerialEntry
public FairySouls fairySouls = new FairySouls();
@SerialEntry
public MythologicalRitual mythologicalRitual = new MythologicalRitual();
@SerialEntry
public ItemCooldown itemCooldown = new ItemCooldown();
@SerialEntry
public Shortcuts shortcuts = new Shortcuts();
@SerialEntry
public Waypoints waypoints = new Waypoints();
@SerialEntry
public QuiverWarning quiverWarning = new QuiverWarning();
@SerialEntry
public ItemList itemList = new ItemList();
@SerialEntry
public ItemTooltip itemTooltip = new ItemTooltip();
@SerialEntry
public ItemInfoDisplay itemInfoDisplay = new ItemInfoDisplay();
@SerialEntry
public WikiLookup wikiLookup = new WikiLookup();
@SerialEntry
public ChestValue chestValue = new ChestValue();
@SerialEntry
public SpecialEffects specialEffects = new SpecialEffects();
@SerialEntry
public Hitbox hitbox = new Hitbox();
@SerialEntry
public TitleContainer titleContainer = new TitleContainer();
@SerialEntry
public TeleportOverlay teleportOverlay = new TeleportOverlay();
@SerialEntry
public FlameOverlay flameOverlay = new FlameOverlay();
@SerialEntry
public List<Integer> lockedSlots = new ArrayList<>();
@SerialEntry
public ObjectOpenHashSet<String> protectedItems = new ObjectOpenHashSet<>();
@SerialEntry
public Object2ObjectOpenHashMap<String, Text> customItemNames = new Object2ObjectOpenHashMap<>();
@SerialEntry
public Object2IntOpenHashMap<String> customDyeColors = new Object2IntOpenHashMap<>();
@SerialEntry
public Object2ObjectOpenHashMap<String, CustomArmorTrims.ArmorTrimId> customArmorTrims = new Object2ObjectOpenHashMap<>();
}
public static class TabHudConf {
@SerialEntry
public boolean tabHudEnabled = true;
@SerialEntry
public int tabHudScale = 100;
@SerialEntry
public boolean plainPlayerNames = false;
@SerialEntry
public NameSorting nameSorting = NameSorting.DEFAULT;
}
public enum NameSorting {
DEFAULT, ALPHABETICAL;
@Override
public String toString() {
return switch (this) {
case DEFAULT -> "Default";
case ALPHABETICAL -> "Alphabetical";
};
}
}
public static class Bars {
@SerialEntry
public boolean enableBars = true;
@SerialEntry
public BarPositions barPositions = new BarPositions();
}
public static class BarPositions {
@SerialEntry
public BarPosition healthBarPosition = BarPosition.LAYER1;
@SerialEntry
public BarPosition manaBarPosition = BarPosition.LAYER1;
@SerialEntry
public BarPosition defenceBarPosition = BarPosition.LAYER1;
@SerialEntry
public BarPosition experienceBarPosition = BarPosition.LAYER1;
}
public enum BarPosition {
LAYER1, LAYER2, RIGHT, NONE;
@Override
public String toString() {
return I18n.translate("text.autoconfig.skyblocker.option.general.bars.barpositions." + name());
}
public int toInt() {
return switch (this) {
case LAYER1 -> 0;
case LAYER2 -> 1;
case RIGHT -> 2;
case NONE -> -1;
};
}
}
public static class Experiments {
@SerialEntry
public boolean enableChronomatronSolver = true;
@SerialEntry
public boolean enableSuperpairsSolver = true;
@SerialEntry
public boolean enableUltrasequencerSolver = true;
}
public static class Fishing {
@SerialEntry
public boolean enableFishingHelper = true;
}
public static class FairySouls {
@SerialEntry
public boolean enableFairySoulsHelper = false;
@SerialEntry
public boolean highlightFoundSouls = true;
@SerialEntry
public boolean highlightOnlyNearbySouls = false;
}
public static class MythologicalRitual {
@SerialEntry
public boolean enableMythologicalRitualHelper = true;
}
public static class ItemCooldown {
@SerialEntry
public boolean enableItemCooldowns = true;
}
public static class Shortcuts {
@SerialEntry
public boolean enableShortcuts = true;
@SerialEntry
public boolean enableCommandShortcuts = true;
@SerialEntry
public boolean enableCommandArgShortcuts = true;
}
public static class Waypoints {
@SerialEntry
public boolean enableWaypoints = true;
@SerialEntry
public Waypoint.Type waypointType = Waypoint.Type.WAYPOINT;
}
public static class QuiverWarning {
@SerialEntry
public boolean enableQuiverWarning = true;
@SerialEntry
public boolean enableQuiverWarningInDungeons = true;
@SerialEntry
public boolean enableQuiverWarningAfterDungeon = true;
}
public static class Hitbox {
@SerialEntry
public boolean oldFarmlandHitbox = false;
@SerialEntry
public boolean oldLeverHitbox = false;
}
public static class TitleContainer {
@SerialEntry
public float titleContainerScale = 100;
@SerialEntry
public int x = 540;
@SerialEntry
public int y = 10;
@SerialEntry
public Direction direction = Direction.HORIZONTAL;
@SerialEntry
public Alignment alignment = Alignment.MIDDLE;
}
public static class TeleportOverlay {
@SerialEntry
public boolean enableTeleportOverlays = true;
@SerialEntry
public boolean enableWeirdTransmission = true;
@SerialEntry
public boolean enableInstantTransmission = true;
@SerialEntry
public boolean enableEtherTransmission = true;
@SerialEntry
public boolean enableSinrecallTransmission = true;
@SerialEntry
public boolean enableWitherImpact = true;
}
public static class FlameOverlay {
@SerialEntry
public float flameHeight = 0f;
@SerialEntry
public float flameOpacity = 0f;
}
public enum Direction {
HORIZONTAL, VERTICAL;
@Override
public String toString() {
return switch (this) {
case HORIZONTAL -> "Horizontal";
case VERTICAL -> "Vertical";
};
}
}
public enum Alignment {
LEFT, RIGHT, MIDDLE;
@Override
public String toString() {
return switch (this) {
case LEFT -> "Left";
case RIGHT -> "Right";
case MIDDLE -> "Middle";
};
}
}
public static class RichPresence {
@SerialEntry
public boolean enableRichPresence = false;
@SerialEntry
public Info info = Info.LOCATION;
@SerialEntry
public boolean cycleMode = false;
@SerialEntry
public String customMessage = "Playing Skyblock";
}
public static class ItemList {
@SerialEntry
public boolean enableItemList = true;
}
public enum Average {
ONE_DAY, THREE_DAY, BOTH;
@Override
public String toString() {
return I18n.translate("text.autoconfig.skyblocker.option.general.itemTooltip.avg." + name());
}
}
public static class ItemTooltip {
@SerialEntry
public boolean enableNPCPrice = true;
@SerialEntry
public boolean enableMotesPrice = true;
@SerialEntry
public boolean enableAvgBIN = true;
@SerialEntry
public Average avg = Average.THREE_DAY;
@SerialEntry
public boolean enableLowestBIN = true;
@SerialEntry
public boolean enableBazaarPrice = true;
@SerialEntry
public boolean enableObtainedDate = true;
@SerialEntry
public boolean enableMuseumInfo = true;
@SerialEntry
public boolean enableExoticTooltip = true;
}
public static class ItemInfoDisplay {
@SerialEntry
public boolean attributeShardInfo = true;
@SerialEntry
public boolean itemRarityBackgrounds = false;
@SerialEntry
public RarityBackgroundStyle itemRarityBackgroundStyle = RarityBackgroundStyle.CIRCULAR;
@SerialEntry
public float itemRarityBackgroundsOpacity = 1f;
}
public enum RarityBackgroundStyle {
CIRCULAR(new Identifier(SkyblockerMod.NAMESPACE, "item_rarity_background_circular")),
SQUARE(new Identifier(SkyblockerMod.NAMESPACE, "item_rarity_background_square"));
public final Identifier tex;
RarityBackgroundStyle(Identifier tex) {
this.tex = tex;
}
@Override
public String toString() {
return switch (this) {
case CIRCULAR -> "Circular";
case SQUARE -> "Square";
};
}
}
public static class WikiLookup {
@SerialEntry
public boolean enableWikiLookup = true;
@SerialEntry
public boolean officialWiki = false;
}
public static class ChestValue {
@SerialEntry
public boolean enableChestValue = true;
@SerialEntry
public Formatting color = Formatting.DARK_GREEN;
@SerialEntry
public Formatting incompleteColor = Formatting.BLUE;
}
public static class SpecialEffects {
@SerialEntry
public boolean rareDungeonDropEffects = true;
}
public static class Locations {
@SerialEntry
public Barn barn = new Barn();
@SerialEntry
public Dungeons dungeons = new Dungeons();
@SerialEntry
public DwarvenMines dwarvenMines = new DwarvenMines();
@SerialEntry
public Rift rift = new Rift();
@SerialEntry
public SpidersDen spidersDen = new SpidersDen();
}
public static class Dungeons {
@SerialEntry
public SecretWaypoints secretWaypoints = new SecretWaypoints();
@SerialEntry
public DoorHighlight doorHighlight = new DoorHighlight();
@SerialEntry
public DungeonScore dungeonScore = new DungeonScore();
@SerialEntry
public DungeonChestProfit dungeonChestProfit = new DungeonChestProfit();
@SerialEntry
public MimicMessage mimicMessage = new MimicMessage();
@SerialEntry
public boolean croesusHelper = true;
@SerialEntry
public boolean enableMap = true;
@SerialEntry
public float mapScaling = 1f;
@SerialEntry
public int mapX = 2;
@SerialEntry
public int mapY = 2;
@SerialEntry
public boolean playerSecretsTracker = false;
@SerialEntry
public boolean starredMobGlow = true;
@SerialEntry
public boolean solveThreeWeirdos = true;
@SerialEntry
public boolean blazeSolver = true;
@SerialEntry
public boolean creeperSolver = true;
@SerialEntry
public boolean solveTrivia = true;
@SerialEntry
public boolean solveTicTacToe = true;
@SerialEntry
public boolean solveWaterboard = true;
@SerialEntry
public boolean fireFreezeStaffTimer = true;
@SerialEntry
public boolean floor3GuardianHealthDisplay = true;
@SerialEntry
public boolean allowDroppingProtectedItems = false;
@SerialEntry
public LividColor lividColor = new LividColor();
@SerialEntry
public Terminals terminals = new Terminals();
}
public static class SecretWaypoints {
@SerialEntry
public boolean enableRoomMatching = true;
@SerialEntry
public boolean enableSecretWaypoints = true;
@SerialEntry
public Waypoint.Type waypointType = Waypoint.Type.WAYPOINT;
@SerialEntry
public boolean showSecretText = true;
@SerialEntry
public boolean enableEntranceWaypoints = true;
@SerialEntry
public boolean enableSuperboomWaypoints = true;
@SerialEntry
public boolean enableChestWaypoints = true;
@SerialEntry
public boolean enableItemWaypoints = true;
@SerialEntry
public boolean enableBatWaypoints = true;
@SerialEntry
public boolean enableWitherWaypoints = true;
@SerialEntry
public boolean enableLeverWaypoints = true;
@SerialEntry
public boolean enableFairySoulWaypoints = true;
@SerialEntry
public boolean enableStonkWaypoints = true;
@SerialEntry
public boolean enableAotvWaypoints = true;
@SerialEntry
public boolean enablePearlWaypoints = true;
@SerialEntry
public boolean enableDefaultWaypoints = true;
}
public static class DoorHighlight {
@SerialEntry
public boolean enableDoorHighlight = true;
@SerialEntry
public Type doorHighlightType = Type.OUTLINED_HIGHLIGHT;
public enum Type {
HIGHLIGHT,
OUTLINED_HIGHLIGHT,
OUTLINE;
@Override
public String toString() {
return switch (this) {
case HIGHLIGHT -> "Highlight";
case OUTLINED_HIGHLIGHT -> "Outlined Highlight";
case OUTLINE -> "Outline";
};
}
}
}
public static class DungeonScore {
@SerialEntry
public boolean enableDungeonScore270Message = false;
@SerialEntry
public boolean enableDungeonScore270Title = false;
@SerialEntry
public boolean enableDungeonScore270Sound = false;
@SerialEntry
public String dungeonScore270Message = "270 Score Reached!";
@SerialEntry
public boolean enableDungeonScore300Message = true;
@SerialEntry
public boolean enableDungeonScore300Title = true;
@SerialEntry
public boolean enableDungeonScore300Sound = true;
@SerialEntry
public String dungeonScore300Message = "300 Score Reached!";
@SerialEntry
public boolean enableScoreHUD = true;
@SerialEntry
public int scoreX = 29;
@SerialEntry
public int scoreY = 134;
@SerialEntry
public float scoreScaling = 1f;
}
public static class DungeonChestProfit {
@SerialEntry
public boolean enableProfitCalculator = true;
@SerialEntry
public boolean includeKismet = false;
@SerialEntry
public boolean includeEssence = true;
@SerialEntry
public int neutralThreshold = 1000;
@SerialEntry
public Formatting neutralColor = Formatting.DARK_GRAY;
@SerialEntry
public Formatting profitColor = Formatting.DARK_GREEN;
@SerialEntry
public Formatting lossColor = Formatting.RED;
@SerialEntry
public Formatting incompleteColor = Formatting.BLUE;
}
public static class MimicMessage {
@SerialEntry
public boolean sendMimicMessage = true;
@SerialEntry
public String mimicMessage = "Mimic dead!";
}
public static class LividColor {
@SerialEntry
public boolean enableLividColorGlow = true;
@SerialEntry
public boolean enableLividColorText = true;
@SerialEntry
public boolean enableLividColorTitle = true;
@SerialEntry
public String lividColorText = "The livid color is [color]";
}
public static class Terminals {
@SerialEntry
public boolean solveColor = true;
@SerialEntry
public boolean solveOrder = true;
@SerialEntry
public boolean solveStartsWith = true;
}
public static class DwarvenMines {
@SerialEntry
public boolean enableDrillFuel = true;
@SerialEntry
public boolean solveFetchur = true;
@SerialEntry
public boolean solvePuzzler = true;
@SerialEntry
public DwarvenHud dwarvenHud = new DwarvenHud();
}
public static class DwarvenHud {
@SerialEntry
public boolean enabled = true;
@SerialEntry
public DwarvenHudStyle style = DwarvenHudStyle.SIMPLE;
@SerialEntry
public boolean enableBackground = true;
@SerialEntry
public int x = 10;
@SerialEntry
public int y = 10;
}
public enum DwarvenHudStyle {
SIMPLE, FANCY, CLASSIC;
@Override
public String toString() {
return switch (this) {
case SIMPLE -> "Simple";
case FANCY -> "Fancy";
case CLASSIC -> "Classic";
};
}
}
public static class Barn {
@SerialEntry
public boolean solveHungryHiker = true;
@SerialEntry
public boolean solveTreasureHunter = true;
}
public static class Rift {
@SerialEntry
public boolean mirrorverseWaypoints = true;
@SerialEntry
public boolean blobbercystGlow = true;
@SerialEntry
public boolean enigmaSoulWaypoints = false;
@SerialEntry
public boolean highlightFoundEnigmaSouls = true;
@SerialEntry
public int mcGrubberStacks = 0;
}
public static class SpidersDen {
@SerialEntry
public Relics relics = new Relics();
}
public static class Relics {
@SerialEntry
public boolean enableRelicsHelper = false;
@SerialEntry
public boolean highlightFoundRelics = true;
}
public static class Slayer {
@SerialEntry
public VampireSlayer vampireSlayer = new VampireSlayer();
@SerialEntry
public EndermanSlayer endermanSlayer = new EndermanSlayer();
}
public static class EndermanSlayer {
@SerialEntry
public boolean highlightNukekubiHeads = true;
@SerialEntry
public boolean highlightBeacons = true;
}
public static class VampireSlayer {
@SerialEntry
public boolean enableEffigyWaypoints = true;
@SerialEntry
public boolean compactEffigyWaypoints;
@SerialEntry
public int effigyUpdateFrequency = 5;
@SerialEntry
public boolean enableHolyIceIndicator = true;
@SerialEntry
public int holyIceIndicatorTickDelay = 10;
@SerialEntry
public int holyIceUpdateFrequency = 5;
@SerialEntry
public boolean enableHealingMelonIndicator = true;
@SerialEntry
public float healingMelonHealthThreshold = 4f;
@SerialEntry
public boolean enableSteakStakeIndicator = true;
@SerialEntry
public int steakStakeUpdateFrequency = 5;
@SerialEntry
public boolean enableManiaIndicator = true;
@SerialEntry
public int maniaUpdateFrequency = 5;
}
public static class Messages {
@SerialEntry
public ChatFilterResult hideAbility = ChatFilterResult.PASS;
@SerialEntry
public ChatFilterResult hideHeal = ChatFilterResult.PASS;
@SerialEntry
public ChatFilterResult hideAOTE = ChatFilterResult.PASS;
@SerialEntry
public ChatFilterResult hideImplosion = ChatFilterResult.PASS;
@SerialEntry
public ChatFilterResult hideMoltenWave = ChatFilterResult.PASS;
@SerialEntry
public ChatFilterResult hideAds = ChatFilterResult.PASS;
@SerialEntry
public ChatFilterResult hideTeleportPad = ChatFilterResult.PASS;
@SerialEntry
public ChatFilterResult hideCombo = ChatFilterResult.PASS;
@SerialEntry
public ChatFilterResult hideAutopet = ChatFilterResult.PASS;
@SerialEntry
public ChatFilterResult hideShowOff = ChatFilterResult.PASS;
@SerialEntry
public ChatFilterResult hideToggleSkyMall = ChatFilterResult.PASS;
@SerialEntry
public ChatFilterResult hideMimicKill = ChatFilterResult.PASS;
@SerialEntry
public ChatFilterResult hideDeath = ChatFilterResult.PASS;
@SerialEntry
public boolean hideMana = false;
}
public enum Info {
PURSE, BITS, LOCATION;
@Override
public String toString() {
return I18n.translate("text.autoconfig.skyblocker.option.richPresence.info." + name());
}
}
}
|