@@ -32,9 +32,30 @@ class Config {
3232 @SerialEntry
3333 var raritySlotDisplayType: DisplayType = DisplayType .OUTLINE
3434
35+ @SerialEntry
36+ var fishingUpgradesModule: Boolean = true
37+
38+ @SerialEntry
39+ var fishingSpotModule: Boolean = true
40+
3541 @SerialEntry
3642 var fishingSuppliesModule: Boolean = true
3743
44+ @SerialEntry
45+ var fishingHookChancesModule: Boolean = true
46+
47+ @SerialEntry
48+ var fishingMagnetChancesModule: Boolean = true
49+
50+ @SerialEntry
51+ var fishingRodChancesModule: Boolean = true
52+
53+ @SerialEntry
54+ var fishingPotChancesModule: Boolean = true
55+
56+ @SerialEntry
57+ var fishingChancePerksModule: Boolean = true
58+
3859 @SerialEntry
3960 var fishingWayfinderModule: Boolean = true
4061
@@ -127,6 +148,20 @@ class Config {
127148 object Fishing {
128149 val suppliesModule: Boolean
129150 get() = handler.instance().fishingSuppliesModule
151+ val upgradesModule: Boolean
152+ get() = handler.instance().fishingUpgradesModule
153+ val spotModule: Boolean
154+ get() = handler.instance().fishingSpotModule
155+ val hookChancesModule: Boolean
156+ get() = handler.instance().fishingHookChancesModule
157+ val magnetChancesModule: Boolean
158+ get() = handler.instance().fishingMagnetChancesModule
159+ val rodChancesModule: Boolean
160+ get() = handler.instance().fishingRodChancesModule
161+ val potChancesModule: Boolean
162+ get() = handler.instance().fishingPotChancesModule
163+ val chancePerksModule: Boolean
164+ get() = handler.instance().fishingChancePerksModule
130165 val wayfinderModule: Boolean
131166 get() = handler.instance().fishingWayfinderModule
132167 val flashIfDepleted: Boolean
@@ -430,21 +465,118 @@ class Config {
430465 controller(tickBox())
431466 }
432467
468+ options.register<Boolean >(" upgrades_module" ) {
469+ name(Component .translatable(" config.trident.fishing.upgrades_module.name" ))
470+ description(
471+ OptionDescription .createBuilder()
472+ .text(Component .translatable(" config.trident.fishing.upgrades_module.description" ))
473+ .image(
474+ ResourceLocation .fromNamespaceAndPath(" trident" , " textures/config/upgrades_module.png" ),
475+ 598 ,
476+ 234
477+ ).build()
478+ )
479+ binding(handler.instance()::fishingUpgradesModule, true )
480+ controller(tickBox())
481+ }
482+
483+ options.register<Boolean >(" spot_module" ) {
484+ name(Component .translatable(" config.trident.fishing.spot_module.name" ))
485+ description(
486+ OptionDescription .createBuilder()
487+ .text(Component .translatable(" config.trident.fishing.spot_module.description" ))
488+ .image(
489+ ResourceLocation .fromNamespaceAndPath(" trident" , " textures/config/spot_module.png" ),
490+ 367 ,
491+ 225
492+ ).build()
493+ )
494+ binding(handler.instance()::fishingSpotModule, true )
495+ controller(tickBox())
496+ }
497+
498+ options.register<Boolean >(" hook_chances_module" ) {
499+ name(Component .translatable(" config.trident.fishing.hook_chances_module.name" ))
500+ description(
501+ OptionDescription .createBuilder()
502+ .text(Component .translatable(" config.trident.fishing.hook_chances_module.description" ))
503+ .image(
504+ ResourceLocation .fromNamespaceAndPath(" trident" , " textures/config/hook_module.png" ),
505+ 440 ,
506+ 287
507+ ).build()
508+ )
509+ binding(handler.instance()::fishingHookChancesModule, true )
510+ controller(tickBox())
511+ }
512+
513+ options.register<Boolean >(" magnet_chances_module" ) {
514+ name(Component .translatable(" config.trident.fishing.magnet_chances_module.name" ))
515+ description(
516+ OptionDescription .createBuilder()
517+ .text(Component .translatable(" config.trident.fishing.magnet_chances_module.description" ))
518+ .image(
519+ ResourceLocation .fromNamespaceAndPath(" trident" , " textures/config/magnet_module.png" ),
520+ 485 ,
521+ 292
522+ ).build()
523+ )
524+ binding(handler.instance()::fishingMagnetChancesModule, true )
525+ controller(tickBox())
526+ }
527+
528+ options.register<Boolean >(" rod_chances_module" ) {
529+ name(Component .translatable(" config.trident.fishing.rod_chances_module.name" ))
530+ description(
531+ OptionDescription .createBuilder()
532+ .text(Component .translatable(" config.trident.fishing.rod_chances_module.description" ))
533+ .image(
534+ ResourceLocation .fromNamespaceAndPath(" trident" , " textures/config/rod_module.png" ),
535+ 323 ,
536+ 268
537+ ).build()
538+ )
539+ binding(handler.instance()::fishingRodChancesModule, true )
540+ controller(tickBox())
541+ }
542+
543+ /* options.register<Boolean>("pot_chances_module") {
544+ name(Component.translatable("config.trident.fishing.pot_chances_module.name"))
545+ description(OptionDescription.of(Component.translatable("config.trident.fishing.pot_chances_module.description")))
546+ binding(handler.instance()::fishingPotChancesModule, true)
547+ controller(tickBox())
548+ }*/
549+
550+ options.register<Boolean >(" chance_perks_module" ) {
551+ name(Component .translatable(" config.trident.fishing.chance_perks_module.name" ))
552+ description(
553+ OptionDescription .createBuilder()
554+ .text(Component .translatable(" config.trident.fishing.chance_perks_module.description" ))
555+ .image(
556+ ResourceLocation .fromNamespaceAndPath(" trident" , " textures/config/chance_module.png" ),
557+ 507 ,
558+ 333
559+ ).build()
560+ )
561+ binding(handler.instance()::fishingChancePerksModule, true )
562+ controller(tickBox())
563+ }
564+
433565 options.register<Boolean >(" flash_if_depleted" ) {
434566 name(Component .translatable(" config.trident.fishing.flash_if_depleted.name" ))
435567 description(OptionDescription .of(Component .translatable(" config.trident.fishing.flash_if_depleted.description" )))
436568 binding(handler.instance()::fishingFlashIfDepleted, true )
437569 controller(tickBox())
438570 }
439- // options.register<Boolean>("wayfinder_module") {
440- // name(Component.translatable("config.trident.fishing.wayfinder_module.name"))
441- // description(OptionDescription.createBuilder()
442- // .text(Component.translatable("config.trident.fishing.wayfinder_module.description"))
443- // .build()
444- // )
445- // binding(handler.instance()::fishingWayfinderModule, true)
446- // controller(tickBox())
447- // }
571+ /* options.register<Boolean>("wayfinder_module") {
572+ name(Component.translatable("config.trident.fishing.wayfinder_module.name"))
573+ description(OptionDescription.createBuilder()
574+ .text(Component.translatable("config.trident.fishing.wayfinder_module.description"))
575+ .build()
576+ )
577+ binding(handler.instance()::fishingWayfinderModule, true)
578+ controller(tickBox())
579+ }*/
448580 }
449581 }
450582
0 commit comments