aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron <51387595+AzureAaron@users.noreply.github.com>2023-10-20 15:22:09 -0400
committerGitHub <noreply@github.com>2023-10-20 15:22:09 -0400
commita2dde4ff3933cc53c19db0a447534b352194d1f4 (patch)
tree23b53209eb5afb7cbafdd9dfc4a4b4eececc65ea /src
parent44f3e5253002ed35607a45bc206f436f5be3db49 (diff)
parent918f614423dc85d6cbd64ad153ae6cd6d2c476cb (diff)
downloadSkyblocker-a2dde4ff3933cc53c19db0a447534b352194d1f4.tar.gz
Skyblocker-a2dde4ff3933cc53c19db0a447534b352194d1f4.tar.bz2
Skyblocker-a2dde4ff3933cc53c19db0a447534b352194d1f4.zip
Merge pull request #374 from AzureAaron/remove-used-quicknav-strings
Remove unused quicknav translation strings
Diffstat (limited to 'src')
-rw-r--r--src/main/java/de/hysky/skyblocker/config/categories/QuickNavigationCategory.java168
-rw-r--r--src/main/resources/assets/skyblocker/lang/en_us.json108
2 files changed, 94 insertions, 182 deletions
diff --git a/src/main/java/de/hysky/skyblocker/config/categories/QuickNavigationCategory.java b/src/main/java/de/hysky/skyblocker/config/categories/QuickNavigationCategory.java
index b17fed23..775a0ae1 100644
--- a/src/main/java/de/hysky/skyblocker/config/categories/QuickNavigationCategory.java
+++ b/src/main/java/de/hysky/skyblocker/config/categories/QuickNavigationCategory.java
@@ -26,45 +26,45 @@ public class QuickNavigationCategory {
//Button 1
.group(OptionGroup.createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button", 1))
.collapsed(true)
.option(Option.<Boolean>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.render"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.render"))
.binding(defaults.quickNav.button1.render,
() -> config.quickNav.button1.render,
newValue -> config.quickNav.button1.render = newValue)
.controller(ConfigUtils::createBooleanController)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.itemName"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.itemName"))
.binding(defaults.quickNav.button1.item.itemName,
() -> config.quickNav.button1.item.itemName,
newValue -> config.quickNav.button1.item.itemName = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<Integer>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.count"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.count"))
.binding(defaults.quickNav.button1.item.count,
() -> config.quickNav.button1.item.count,
newValue -> config.quickNav.button1.item.count = newValue)
.controller(opt -> IntegerFieldControllerBuilder.create(opt).range(1, 64))
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.nbt"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.nbt"))
.binding(defaults.quickNav.button1.item.nbt,
() -> config.quickNav.button1.item.nbt,
newValue -> config.quickNav.button1.item.nbt = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.uiTitle"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.uiTitle"))
.binding(defaults.quickNav.button1.uiTitle,
() -> config.quickNav.button1.uiTitle,
newValue -> config.quickNav.button1.uiTitle = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.clickEvent"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.clickEvent"))
.binding(defaults.quickNav.button1.clickEvent,
() -> config.quickNav.button1.clickEvent,
newValue -> config.quickNav.button1.clickEvent = newValue)
@@ -74,45 +74,45 @@ public class QuickNavigationCategory {
//Button 2
.group(OptionGroup.createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button2"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button", 2))
.collapsed(true)
.option(Option.<Boolean>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.render"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.render"))
.binding(defaults.quickNav.button2.render,
() -> config.quickNav.button2.render,
newValue -> config.quickNav.button2.render = newValue)
.controller(ConfigUtils::createBooleanController)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.itemName"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.itemName"))
.binding(defaults.quickNav.button2.item.itemName,
() -> config.quickNav.button2.item.itemName,
newValue -> config.quickNav.button2.item.itemName = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<Integer>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.count"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.count"))
.binding(defaults.quickNav.button2.item.count,
() -> config.quickNav.button2.item.count,
newValue -> config.quickNav.button2.item.count = newValue)
.controller(opt -> IntegerFieldControllerBuilder.create(opt).range(1, 64))
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.nbt"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.nbt"))
.binding(defaults.quickNav.button2.item.nbt,
() -> config.quickNav.button2.item.nbt,
newValue -> config.quickNav.button2.item.nbt = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.uiTitle"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.uiTitle"))
.binding(defaults.quickNav.button2.uiTitle,
() -> config.quickNav.button2.uiTitle,
newValue -> config.quickNav.button2.uiTitle = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.clickEvent"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.clickEvent"))
.binding(defaults.quickNav.button2.clickEvent,
() -> config.quickNav.button2.clickEvent,
newValue -> config.quickNav.button2.clickEvent = newValue)
@@ -122,45 +122,45 @@ public class QuickNavigationCategory {
//Button 3
.group(OptionGroup.createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button3"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button", 3))
.collapsed(true)
.option(Option.<Boolean>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.render"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.render"))
.binding(defaults.quickNav.button3.render,
() -> config.quickNav.button3.render,
newValue -> config.quickNav.button3.render = newValue)
.controller(ConfigUtils::createBooleanController)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.itemName"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.itemName"))
.binding(defaults.quickNav.button3.item.itemName,
() -> config.quickNav.button3.item.itemName,
newValue -> config.quickNav.button3.item.itemName = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<Integer>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.count"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.count"))
.binding(defaults.quickNav.button3.item.count,
() -> config.quickNav.button3.item.count,
newValue -> config.quickNav.button3.item.count = newValue)
.controller(opt -> IntegerFieldControllerBuilder.create(opt).range(1, 64))
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.nbt"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.nbt"))
.binding(defaults.quickNav.button3.item.nbt,
() -> config.quickNav.button3.item.nbt,
newValue -> config.quickNav.button3.item.nbt = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.uiTitle"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.uiTitle"))
.binding(defaults.quickNav.button3.uiTitle,
() -> config.quickNav.button3.uiTitle,
newValue -> config.quickNav.button3.uiTitle = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.clickEvent"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.clickEvent"))
.binding(defaults.quickNav.button3.clickEvent,
() -> config.quickNav.button3.clickEvent,
newValue -> config.quickNav.button3.clickEvent = newValue)
@@ -170,45 +170,45 @@ public class QuickNavigationCategory {
//Button 4
.group(OptionGroup.createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button4"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button", 4))
.collapsed(true)
.option(Option.<Boolean>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.render"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.render"))
.binding(defaults.quickNav.button4.render,
() -> config.quickNav.button4.render,
newValue -> config.quickNav.button4.render = newValue)
.controller(ConfigUtils::createBooleanController)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.itemName"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.itemName"))
.binding(defaults.quickNav.button4.item.itemName,
() -> config.quickNav.button4.item.itemName,
newValue -> config.quickNav.button4.item.itemName = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<Integer>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.count"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.count"))
.binding(defaults.quickNav.button4.item.count,
() -> config.quickNav.button4.item.count,
newValue -> config.quickNav.button4.item.count = newValue)
.controller(opt -> IntegerFieldControllerBuilder.create(opt).range(1, 64))
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.nbt"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.nbt"))
.binding(defaults.quickNav.button4.item.nbt,
() -> config.quickNav.button4.item.nbt,
newValue -> config.quickNav.button4.item.nbt = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.uiTitle"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.uiTitle"))
.binding(defaults.quickNav.button4.uiTitle,
() -> config.quickNav.button4.uiTitle,
newValue -> config.quickNav.button4.uiTitle = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.clickEvent"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.clickEvent"))
.binding(defaults.quickNav.button4.clickEvent,
() -> config.quickNav.button4.clickEvent,
newValue -> config.quickNav.button4.clickEvent = newValue)
@@ -218,45 +218,45 @@ public class QuickNavigationCategory {
//Button 5
.group(OptionGroup.createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button5"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button", 5))
.collapsed(true)
.option(Option.<Boolean>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.render"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.render"))
.binding(defaults.quickNav.button5.render,
() -> config.quickNav.button5.render,
newValue -> config.quickNav.button5.render = newValue)
.controller(ConfigUtils::createBooleanController)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.itemName"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.itemName"))
.binding(defaults.quickNav.button5.item.itemName,
() -> config.quickNav.button5.item.itemName,
newValue -> config.quickNav.button5.item.itemName = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<Integer>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.count"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.count"))
.binding(defaults.quickNav.button5.item.count,
() -> config.quickNav.button5.item.count,
newValue -> config.quickNav.button5.item.count = newValue)
.controller(opt -> IntegerFieldControllerBuilder.create(opt).range(1, 64))
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.nbt"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.nbt"))
.binding(defaults.quickNav.button5.item.nbt,
() -> config.quickNav.button5.item.nbt,
newValue -> config.quickNav.button5.item.nbt = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.uiTitle"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.uiTitle"))
.binding(defaults.quickNav.button5.uiTitle,
() -> config.quickNav.button5.uiTitle,
newValue -> config.quickNav.button5.uiTitle = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.clickEvent"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.clickEvent"))
.binding(defaults.quickNav.button5.clickEvent,
() -> config.quickNav.button5.clickEvent,
newValue -> config.quickNav.button5.clickEvent = newValue)
@@ -266,45 +266,45 @@ public class QuickNavigationCategory {
//Button 6
.group(OptionGroup.createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button6"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button", 6))
.collapsed(true)
.option(Option.<Boolean>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.render"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.render"))
.binding(defaults.quickNav.button6.render,
() -> config.quickNav.button6.render,
newValue -> config.quickNav.button6.render = newValue)
.controller(ConfigUtils::createBooleanController)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.itemName"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.itemName"))
.binding(defaults.quickNav.button6.item.itemName,
() -> config.quickNav.button6.item.itemName,
newValue -> config.quickNav.button6.item.itemName = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<Integer>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.count"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.count"))
.binding(defaults.quickNav.button6.item.count,
() -> config.quickNav.button6.item.count,
newValue -> config.quickNav.button6.item.count = newValue)
.controller(opt -> IntegerFieldControllerBuilder.create(opt).range(1, 64))
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.nbt"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.nbt"))
.binding(defaults.quickNav.button6.item.nbt,
() -> config.quickNav.button6.item.nbt,
newValue -> config.quickNav.button6.item.nbt = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.uiTitle"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.uiTitle"))
.binding(defaults.quickNav.button6.uiTitle,
() -> config.quickNav.button6.uiTitle,
newValue -> config.quickNav.button6.uiTitle = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.clickEvent"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.clickEvent"))
.binding(defaults.quickNav.button6.clickEvent,
() -> config.quickNav.button6.clickEvent,
newValue -> config.quickNav.button6.clickEvent = newValue)
@@ -314,45 +314,45 @@ public class QuickNavigationCategory {
//Button 7
.group(OptionGroup.createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button7"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button", 7))
.collapsed(true)
.option(Option.<Boolean>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.render"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.render"))
.binding(defaults.quickNav.button7.render,
() -> config.quickNav.button7.render,
newValue -> config.quickNav.button7.render = newValue)
.controller(ConfigUtils::createBooleanController)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.itemName"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.itemName"))
.binding(defaults.quickNav.button7.item.itemName,
() -> config.quickNav.button7.item.itemName,
newValue -> config.quickNav.button7.item.itemName = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<Integer>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.count"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.count"))
.binding(defaults.quickNav.button7.item.count,
() -> config.quickNav.button7.item.count,
newValue -> config.quickNav.button7.item.count = newValue)
.controller(opt -> IntegerFieldControllerBuilder.create(opt).range(1, 64))
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.nbt"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.nbt"))
.binding(defaults.quickNav.button7.item.nbt,
() -> config.quickNav.button7.item.nbt,
newValue -> config.quickNav.button7.item.nbt = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.uiTitle"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.uiTitle"))
.binding(defaults.quickNav.button7.uiTitle,
() -> config.quickNav.button7.uiTitle,
newValue -> config.quickNav.button7.uiTitle = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.clickEvent"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.clickEvent"))
.binding(defaults.quickNav.button7.clickEvent,
() -> config.quickNav.button7.clickEvent,
newValue -> config.quickNav.button7.clickEvent = newValue)
@@ -362,45 +362,45 @@ public class QuickNavigationCategory {
//Button 8
.group(OptionGroup.createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button8"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button", 8))
.collapsed(true)
.option(Option.<Boolean>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.render"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.render"))
.binding(defaults.quickNav.button8.render,
() -> config.quickNav.button8.render,
newValue -> config.quickNav.button8.render = newValue)
.controller(ConfigUtils::createBooleanController)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.itemName"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.itemName"))
.binding(defaults.quickNav.button8.item.itemName,
() -> config.quickNav.button8.item.itemName,
newValue -> config.quickNav.button8.item.itemName = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<Integer>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.count"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.count"))
.binding(defaults.quickNav.button8.item.count,
() -> config.quickNav.button8.item.count,
newValue -> config.quickNav.button8.item.count = newValue)
.controller(opt -> IntegerFieldControllerBuilder.create(opt).range(1, 64))
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.nbt"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.nbt"))
.binding(defaults.quickNav.button8.item.nbt,
() -> config.quickNav.button8.item.nbt,
newValue -> config.quickNav.button8.item.nbt = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.uiTitle"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.uiTitle"))
.binding(defaults.quickNav.button8.uiTitle,
() -> config.quickNav.button8.uiTitle,
newValue -> config.quickNav.button8.uiTitle = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.clickEvent"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.clickEvent"))
.binding(defaults.quickNav.button8.clickEvent,
() -> config.quickNav.button8.clickEvent,
newValue -> config.quickNav.button8.clickEvent = newValue)
@@ -410,45 +410,45 @@ public class QuickNavigationCategory {
//Button 9
.group(OptionGroup.createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button9"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button", 9))
.collapsed(true)
.option(Option.<Boolean>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.render"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.render"))
.binding(defaults.quickNav.button9.render,
() -> config.quickNav.button9.render,
newValue -> config.quickNav.button9.render = newValue)
.controller(ConfigUtils::createBooleanController)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.itemName"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.itemName"))
.binding(defaults.quickNav.button9.item.itemName,
() -> config.quickNav.button9.item.itemName,
newValue -> config.quickNav.button9.item.itemName = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<Integer>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.count"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.count"))
.binding(defaults.quickNav.button9.item.count,
() -> config.quickNav.button9.item.count,
newValue -> config.quickNav.button9.item.count = newValue)
.controller(opt -> IntegerFieldControllerBuilder.create(opt).range(1, 64))
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.nbt"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.nbt"))
.binding(defaults.quickNav.button9.item.nbt,
() -> config.quickNav.button9.item.nbt,
newValue -> config.quickNav.button9.item.nbt = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.uiTitle"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.uiTitle"))
.binding(defaults.quickNav.button9.uiTitle,
() -> config.quickNav.button9.uiTitle,
newValue -> config.quickNav.button9.uiTitle = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.clickEvent"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.clickEvent"))
.binding(defaults.quickNav.button9.clickEvent,
() -> config.quickNav.button9.clickEvent,
newValue -> config.quickNav.button9.clickEvent = newValue)
@@ -458,45 +458,45 @@ public class QuickNavigationCategory {
//Button 10
.group(OptionGroup.createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button10"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button", 10))
.collapsed(true)
.option(Option.<Boolean>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.render"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.render"))
.binding(defaults.quickNav.button10.render,
() -> config.quickNav.button10.render,
newValue -> config.quickNav.button10.render = newValue)
.controller(ConfigUtils::createBooleanController)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.itemName"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.itemName"))
.binding(defaults.quickNav.button10.item.itemName,
() -> config.quickNav.button10.item.itemName,
newValue -> config.quickNav.button10.item.itemName = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<Integer>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.count"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.count"))
.binding(defaults.quickNav.button10.item.count,
() -> config.quickNav.button10.item.count,
newValue -> config.quickNav.button10.item.count = newValue)
.controller(opt -> IntegerFieldControllerBuilder.create(opt).range(1, 64))
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.nbt"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.nbt"))
.binding(defaults.quickNav.button10.item.nbt,
() -> config.quickNav.button10.item.nbt,
newValue -> config.quickNav.button10.item.nbt = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.uiTitle"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.uiTitle"))
.binding(defaults.quickNav.button10.uiTitle,
() -> config.quickNav.button10.uiTitle,
newValue -> config.quickNav.button10.uiTitle = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.clickEvent"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.clickEvent"))
.binding(defaults.quickNav.button10.clickEvent,
() -> config.quickNav.button10.clickEvent,
newValue -> config.quickNav.button10.clickEvent = newValue)
@@ -506,45 +506,45 @@ public class QuickNavigationCategory {
//Button 11
.group(OptionGroup.createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button11"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button", 11))
.collapsed(true)
.option(Option.<Boolean>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.render"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.render"))
.binding(defaults.quickNav.button11.render,
() -> config.quickNav.button11.render,
newValue -> config.quickNav.button11.render = newValue)
.controller(ConfigUtils::createBooleanController)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.itemName"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.itemName"))
.binding(defaults.quickNav.button11.item.itemName,
() -> config.quickNav.button11.item.itemName,
newValue -> config.quickNav.button11.item.itemName = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<Integer>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.count"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.count"))
.binding(defaults.quickNav.button11.item.count,
() -> config.quickNav.button11.item.count,
newValue -> config.quickNav.button11.item.count = newValue)
.controller(opt -> IntegerFieldControllerBuilder.create(opt).range(1, 64))
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.nbt"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.nbt"))
.binding(defaults.quickNav.button11.item.nbt,
() -> config.quickNav.button11.item.nbt,
newValue -> config.quickNav.button11.item.nbt = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.uiTitle"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.uiTitle"))
.binding(defaults.quickNav.button11.uiTitle,
() -> config.quickNav.button11.uiTitle,
newValue -> config.quickNav.button11.uiTitle = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.clickEvent"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.clickEvent"))
.binding(defaults.quickNav.button11.clickEvent,
() -> config.quickNav.button11.clickEvent,
newValue -> config.quickNav.button11.clickEvent = newValue)
@@ -554,45 +554,45 @@ public class QuickNavigationCategory {
//Button 12
.group(OptionGroup.createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button12"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button", 12))
.collapsed(true)
.option(Option.<Boolean>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.render"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.render"))
.binding(defaults.quickNav.button12.render,
() -> config.quickNav.button12.render,
newValue -> config.quickNav.button12.render = newValue)
.controller(ConfigUtils::createBooleanController)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.itemName"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.itemName"))
.binding(defaults.quickNav.button12.item.itemName,
() -> config.quickNav.button12.item.itemName,
newValue -> config.quickNav.button12.item.itemName = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<Integer>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.count"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.count"))
.binding(defaults.quickNav.button12.item.count,
() -> config.quickNav.button12.item.count,
newValue -> config.quickNav.button12.item.count = newValue)
.controller(opt -> IntegerFieldControllerBuilder.create(opt).range(1, 64))
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.item.nbt"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.item.nbt"))
.binding(defaults.quickNav.button12.item.nbt,
() -> config.quickNav.button12.item.nbt,
newValue -> config.quickNav.button12.item.nbt = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.uiTitle"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.uiTitle"))
.binding(defaults.quickNav.button12.uiTitle,
() -> config.quickNav.button12.uiTitle,
newValue -> config.quickNav.button12.uiTitle = newValue)
.controller(StringControllerBuilder::create)
.build())
.option(Option.<String>createBuilder()
- .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button1.clickEvent"))
+ .name(Text.translatable("text.autoconfig.skyblocker.option.quickNav.button.clickEvent"))
.binding(defaults.quickNav.button12.clickEvent,
() -> config.quickNav.button12.clickEvent,
newValue -> config.quickNav.button12.clickEvent = newValue)
diff --git a/src/main/resources/assets/skyblocker/lang/en_us.json b/src/main/resources/assets/skyblocker/lang/en_us.json
index e868e22b..4dbe210e 100644
--- a/src/main/resources/assets/skyblocker/lang/en_us.json
+++ b/src/main/resources/assets/skyblocker/lang/en_us.json
@@ -125,104 +125,16 @@
"text.autoconfig.skyblocker.option.richPresence.enableRichPresence": "Enabled",
"text.autoconfig.skyblocker.option.richPresence.customMessage": "Custom Message",
- "text.autoconfig.skyblocker.category.quickNav" : "Quick Navigation",
- "text.autoconfig.skyblocker.option.quickNav.enableQuickNav" : "Enable Quick Navigation",
- "text.autoconfig.skyblocker.option.quickNav.button1" : "Button 1",
- "text.autoconfig.skyblocker.option.quickNav.button1.render" : "Render",
- "text.autoconfig.skyblocker.option.quickNav.button1.item" : "Item",
- "text.autoconfig.skyblocker.option.quickNav.button1.item.itemName" : "Item name",
- "text.autoconfig.skyblocker.option.quickNav.button1.item.count" : "Item Count",
- "text.autoconfig.skyblocker.option.quickNav.button1.item.nbt" : "NBT",
- "text.autoconfig.skyblocker.option.quickNav.button1.uiTitle" : "UI Title",
- "text.autoconfig.skyblocker.option.quickNav.button1.clickEvent" : "Click event",
- "text.autoconfig.skyblocker.option.quickNav.button2" : "Button 2",
- "text.autoconfig.skyblocker.option.quickNav.button2.render" : "Render",
- "text.autoconfig.skyblocker.option.quickNav.button2.item" : "Item",
- "text.autoconfig.skyblocker.option.quickNav.button2.item.itemName" : "Item name",
- "text.autoconfig.skyblocker.option.quickNav.button2.item.count" : "Item Count",
- "text.autoconfig.skyblocker.option.quickNav.button2.item.nbt" : "NBT",
- "text.autoconfig.skyblocker.option.quickNav.button2.uiTitle" : "UI Title",
- "text.autoconfig.skyblocker.option.quickNav.button2.clickEvent" : "Click event",
- "text.autoconfig.skyblocker.option.quickNav.button3" : "Button 3",
- "text.autoconfig.skyblocker.option.quickNav.button3.render" : "Render",
- "text.autoconfig.skyblocker.option.quickNav.button3.item" : "Item",
- "text.autoconfig.skyblocker.option.quickNav.button3.item.itemName" : "Item name",
- "text.autoconfig.skyblocker.option.quickNav.button3.item.count" : "Item Count",
- "text.autoconfig.skyblocker.option.quickNav.button3.item.nbt" : "NBT",
- "text.autoconfig.skyblocker.option.quickNav.button3.uiTitle" : "UI Title",
- "text.autoconfig.skyblocker.option.quickNav.button3.clickEvent" : "Click event",
- "text.autoconfig.skyblocker.option.quickNav.button4" : "Button 4",
- "text.autoconfig.skyblocker.option.quickNav.button4.render" : "Render",
- "text.autoconfig.skyblocker.option.quickNav.button4.item" : "Item",
- "text.autoconfig.skyblocker.option.quickNav.button4.item.itemName" : "Item name",
- "text.autoconfig.skyblocker.option.quickNav.button4.item.count" : "Item Count",
- "text.autoconfig.skyblocker.option.quickNav.button4.item.nbt" : "NBT",
- "text.autoconfig.skyblocker.option.quickNav.button4.uiTitle" : "UI Title",
- "text.autoconfig.skyblocker.option.quickNav.button4.clickEvent" : "Click event",
- "text.autoconfig.skyblocker.option.quickNav.button5" : "Button 5",
- "text.autoconfig.skyblocker.option.quickNav.button5.render" : "Render",
- "text.autoconfig.skyblocker.option.quickNav.button5.item" : "Item",
- "text.autoconfig.skyblocker.option.quickNav.button5.item.itemName" : "Item name",
- "text.autoconfig.skyblocker.option.quickNav.button5.item.count" : "Item Count",
- "text.autoconfig.skyblocker.option.quickNav.button5.item.nbt" : "NBT",
- "text.autoconfig.skyblocker.option.quickNav.button5.uiTitle" : "UI Title",
- "text.autoconfig.skyblocker.option.quickNav.button5.clickEvent" : "Click event",
- "text.autoconfig.skyblocker.option.quickNav.button6" : "Button 6",
- "text.autoconfig.skyblocker.option.quickNav.button6.render" : "Render",
- "text.autoconfig.skyblocker.option.quickNav.button6.item" : "Item",
- "text.autoconfig.skyblocker.option.quickNav.button6.item.itemName" : "Item name",
- "text.autoconfig.skyblocker.option.quickNav.button6.item.count" : "Item Count",
- "text.autoconfig.skyblocker.option.quickNav.button6.item.nbt" : "NBT",
- "text.autoconfig.skyblocker.option.quickNav.button6.uiTitle" : "UI Title",
- "text.autoconfig.skyblocker.option.quickNav.button6.clickEvent" : "Click event",
- "text.autoconfig.skyblocker.option.quickNav.button7" : "Button 7",
- "text.autoconfig.skyblocker.option.quickNav.button7.render" : "Render",
- "text.autoconfig.skyblocker.option.quickNav.button7.item" : "Item",
- "text.autoconfig.skyblocker.option.quickNav.button7.item.itemName" : "Item name",
- "text.autoconfig.skyblocker.option.quickNav.button7.item.count" : "Item Count",
- "text.autoconfig.skyblocker.option.quickNav.button7.item.nbt" : "NBT",
- "text.autoconfig.skyblocker.option.quickNav.button7.uiTitle" : "UI Title",
- "text.autoconfig.skyblocker.option.quickNav.button7.clickEvent" : "Click event",
- "text.autoconfig.skyblocker.option.quickNav.button8" : "Button 8",
- "text.autoconfig.skyblocker.option.quickNav.button8.render" : "Render",
- "text.autoconfig.skyblocker.option.quickNav.button8.item" : "Item",
- "text.autoconfig.skyblocker.option.quickNav.button8.item.itemName" : "Item name",
- "text.autoconfig.skyblocker.option.quickNav.button8.item.count" : "Item Count",
- "text.autoconfig.skyblocker.option.quickNav.button8.item.nbt" : "NBT",
- "text.autoconfig.skyblocker.option.quickNav.button8.uiTitle" : "UI Title",
- "text.autoconfig.skyblocker.option.quickNav.button8.clickEvent" : "Click event",
- "text.autoconfig.skyblocker.option.quickNav.button9" : "Button 9",
- "text.autoconfig.skyblocker.option.quickNav.button9.render" : "Render",
- "text.autoconfig.skyblocker.option.quickNav.button9.item" : "Item",
- "text.autoconfig.skyblocker.option.quickNav.button9.item.itemName" : "Item name",
- "text.autoconfig.skyblocker.option.quickNav.button9.item.count" : "Item Count",
- "text.autoconfig.skyblocker.option.quickNav.button9.item.nbt" : "NBT",
- "text.autoconfig.skyblocker.option.quickNav.button9.uiTitle" : "UI Title",
- "text.autoconfig.skyblocker.option.quickNav.button9.clickEvent" : "Click event",
- "text.autoconfig.skyblocker.option.quickNav.button10" : "Button 10",
- "text.autoconfig.skyblocker.option.quickNav.button10.render" : "Render",
- "text.autoconfig.skyblocker.option.quickNav.button10.item" : "Item",
- "text.autoconfig.skyblocker.option.quickNav.button10.item.itemName" : "Item name",
- "text.autoconfig.skyblocker.option.quickNav.button10.item.count" : "Item Count",
- "text.autoconfig.skyblocker.option.quickNav.button10.item.nbt" : "NBT",
- "text.autoconfig.skyblocker.option.quickNav.button10.uiTitle" : "UI Title",
- "text.autoconfig.skyblocker.option.quickNav.button10.clickEvent" : "Click event",
- "text.autoconfig.skyblocker.option.quickNav.button11" : "Button 11",
- "text.autoconfig.skyblocker.option.quickNav.button11.render" : "Render",
- "text.autoconfig.skyblocker.option.quickNav.button11.item" : "Item",
- "text.autoconfig.skyblocker.option.quickNav.button11.item.itemName" : "Item name",
- "text.autoconfig.skyblocker.option.quickNav.button11.item.count" : "Item Count",
- "text.autoconfig.skyblocker.option.quickNav.button11.item.nbt" : "NBT",
- "text.autoconfig.skyblocker.option.quickNav.button11.uiTitle" : "UI Title",
- "text.autoconfig.skyblocker.option.quickNav.button11.clickEvent" : "Click event",
- "text.autoconfig.skyblocker.option.quickNav.button12" : "Button 12",
- "text.autoconfig.skyblocker.option.quickNav.button12.render" : "Render",
- "text.autoconfig.skyblocker.option.quickNav.button12.item" : "Item",
- "text.autoconfig.skyblocker.option.quickNav.button12.item.itemName" : "Item name",
- "text.autoconfig.skyblocker.option.quickNav.button12.item.count" : "Item Count",
- "text.autoconfig.skyblocker.option.quickNav.button12.item.nbt" : "NBT",
- "text.autoconfig.skyblocker.option.quickNav.button12.uiTitle" : "UI Title",
- "text.autoconfig.skyblocker.option.quickNav.button12.clickEvent" : "Click event",
+ "text.autoconfig.skyblocker.category.quickNav": "Quick Navigation",
+ "text.autoconfig.skyblocker.option.quickNav.enableQuickNav": "Enable Quick Navigation",
+ "text.autoconfig.skyblocker.option.quickNav.button": "Button %d",
+ "text.autoconfig.skyblocker.option.quickNav.button.render": "Render",
+ "text.autoconfig.skyblocker.option.quickNav.button.item": "Item",
+ "text.autoconfig.skyblocker.option.quickNav.button.item.itemName": "Item ID",
+ "text.autoconfig.skyblocker.option.quickNav.button.item.count": "Item Count",
+ "text.autoconfig.skyblocker.option.quickNav.button.item.nbt": "NBT",
+ "text.autoconfig.skyblocker.option.quickNav.button.uiTitle": "UI Title",
+ "text.autoconfig.skyblocker.option.quickNav.button.clickEvent": "Click event",
"text.autoconfig.skyblocker.option.general.itemList": "Item List",
"text.autoconfig.skyblocker.option.general.itemList.enableItemList": "Enable Item List",