aboutsummaryrefslogtreecommitdiff
path: root/common/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/main/resources')
-rw-r--r--common/src/main/resources/architectury.common.json3
-rw-r--r--common/src/main/resources/assets/yet_another_config_lib/lang/el_gr.json23
-rw-r--r--common/src/main/resources/assets/yet_another_config_lib/lang/en_us.json29
-rw-r--r--common/src/main/resources/assets/yet_another_config_lib/lang/et_ee.json18
-rw-r--r--common/src/main/resources/assets/yet_another_config_lib/lang/fr_fr.json29
-rw-r--r--common/src/main/resources/assets/yet_another_config_lib/lang/pl_pl.json23
-rw-r--r--common/src/main/resources/assets/yet_another_config_lib/lang/pt_br.json18
-rw-r--r--common/src/main/resources/assets/yet_another_config_lib/lang/ru_ru.json24
-rw-r--r--common/src/main/resources/assets/yet_another_config_lib/lang/sl_si.json22
-rw-r--r--common/src/main/resources/assets/yet_another_config_lib/lang/zh_cn.json29
-rw-r--r--common/src/main/resources/assets/yet_another_config_lib/lang/zh_tw.json23
-rw-r--r--common/src/main/resources/yacl-128x.pngbin0 -> 13813 bytes
-rw-r--r--common/src/main/resources/yacl.accesswidener6
-rw-r--r--common/src/main/resources/yacl.mixins.json12
14 files changed, 259 insertions, 0 deletions
diff --git a/common/src/main/resources/architectury.common.json b/common/src/main/resources/architectury.common.json
new file mode 100644
index 0000000..0cb21dd
--- /dev/null
+++ b/common/src/main/resources/architectury.common.json
@@ -0,0 +1,3 @@
+{
+ "accessWidener": "yacl.accesswidener"
+} \ No newline at end of file
diff --git a/common/src/main/resources/assets/yet_another_config_lib/lang/el_gr.json b/common/src/main/resources/assets/yet_another_config_lib/lang/el_gr.json
new file mode 100644
index 0000000..b7bc2d2
--- /dev/null
+++ b/common/src/main/resources/assets/yet_another_config_lib/lang/el_gr.json
@@ -0,0 +1,23 @@
+{
+ "yacl.control.boolean.true": "Ναι",
+ "yacl.control.boolean.false": "Όχι",
+
+ "yacl.control.action.execute": "ΕΚΤΕΛΕΣΗ",
+
+ "yacl.gui.save": "Αποθήκευση Αλλαγών",
+ "yacl.gui.save.tooltip": "Μονιμοποιήει τις αλλαγές.",
+ "yacl.gui.finished.tooltip": "Κλείνει το GUI.",
+ "yacl.gui.cancel.tooltip": "Ξεχνά τις ενεργές αλλαγές και κλείνει το μενού.",
+ "yacl.gui.reset.tooltip": "Επαναφέρει όλες τις επιλογές στις προεπιλογές τους. (Μπορεί να ανερεθε)",
+ "yacl.gui.undo": "Επαναφορά",
+ "yacl.gui.undo.tooltip": "Επαναφέρει όλες τις ενεργές επιλογές στις προεπιλογές τους.",
+ "yacl.gui.fail_apply": "Αποτυχία εφαρμογής",
+ "yacl.gui.fail_apply.tooltip": "Δημιουργήθηκε ένα σφάλμα και οι αλλαγές δεν μπόρεσαν να εφαρμοστούν.",
+ "yacl.gui.save_before_exit": "Αποθήκευση πριν το κλείσιμο!",
+ "yacl.gui.save_before_exit.tooltip": "Αποθήκευσε ή ακύρωσε για να βγεις απ' το μενού."
+
+ "yacl.restart.title": "Η ρύθμιση απαιτεί επανεκκήνιση!",
+ "yacl.restart.message": "Μία ή παραπάνω επιλογές προϋποθέτουν επανεκκήνηση το παιχνιδιού για να εφαρμοστούν.",
+ "yacl.restart.yes": "Κλείσιμο του Minecraft",
+ "yacl.restart.no": "Αγνόησε το για τώρα"
+}
diff --git a/common/src/main/resources/assets/yet_another_config_lib/lang/en_us.json b/common/src/main/resources/assets/yet_another_config_lib/lang/en_us.json
new file mode 100644
index 0000000..32621e9
--- /dev/null
+++ b/common/src/main/resources/assets/yet_another_config_lib/lang/en_us.json
@@ -0,0 +1,29 @@
+{
+ "yacl.control.boolean.true": "True",
+ "yacl.control.boolean.false": "False",
+
+ "yacl.control.action.execute": "EXECUTE",
+
+ "yacl.gui.save": "Save Changes",
+ "yacl.gui.save.tooltip": "Makes the changes made permanent.",
+ "yacl.gui.finished.tooltip": "Closes the GUI.",
+ "yacl.gui.cancel.tooltip": "Forgets pending changes and closes the GUI.",
+ "yacl.gui.reset.tooltip": "Resets all options to default. (This is reversible!)",
+ "yacl.gui.undo": "Undo",
+ "yacl.gui.undo.tooltip": "Reverts all options back to what they were before editing.",
+ "yacl.gui.fail_apply": "Failed to apply",
+ "yacl.gui.fail_apply.tooltip": "There was an error and the changes couldn't be applied.",
+ "yacl.gui.save_before_exit": "Save before exiting!",
+ "yacl.gui.save_before_exit.tooltip": "Save or cancel to exit the GUI.",
+
+ "yacl.list.move_up": "Move up",
+ "yacl.list.move_down": "Move down",
+ "yacl.list.remove": "Remove",
+ "yacl.list.add_top": "New entry",
+ "yacl.list.empty": "List is empty",
+
+ "yacl.restart.title": "Config requires restart!",
+ "yacl.restart.message": "One or more options needs you to restart the game to apply the changes.",
+ "yacl.restart.yes": "Close Minecraft",
+ "yacl.restart.no": "Ignore"
+}
diff --git a/common/src/main/resources/assets/yet_another_config_lib/lang/et_ee.json b/common/src/main/resources/assets/yet_another_config_lib/lang/et_ee.json
new file mode 100644
index 0000000..5f5274a
--- /dev/null
+++ b/common/src/main/resources/assets/yet_another_config_lib/lang/et_ee.json
@@ -0,0 +1,18 @@
+{
+ "yacl.control.boolean.true": "Tõene",
+ "yacl.control.boolean.false": "Väär",
+
+ "yacl.control.action.execute": "KÄIVITA",
+
+ "yacl.gui.save": "Salvesta muudatused",
+ "yacl.gui.save.tooltip": "Teeb tehtud muudatused püsivaks.",
+ "yacl.gui.finished.tooltip": "Sulgeb liidese.",
+ "yacl.gui.cancel.tooltip": "Unustab tehtud muudatused ja sulgeb liidese.",
+ "yacl.gui.reset.tooltip": "Lähtestab kõik valikud vaikeväärtustele. (Seda saab tagasi võtta!)",
+ "yacl.gui.undo": "Võta tagasi",
+ "yacl.gui.undo.tooltip": "Lähtestab kõik valikud muutmise-eelsetele väärtustele.",
+ "yacl.gui.fail_apply": "Rakendamine ebaõnnestus",
+ "yacl.gui.fail_apply.tooltip": "Esines viga ja muudatusi ei saadud rakendada.",
+ "yacl.gui.save_before_exit": "Salvesta enne väljumist!",
+ "yacl.gui.save_before_exit.tooltip": "Liidesest väljumiseks salvesta või loobu."
+}
diff --git a/common/src/main/resources/assets/yet_another_config_lib/lang/fr_fr.json b/common/src/main/resources/assets/yet_another_config_lib/lang/fr_fr.json
new file mode 100644
index 0000000..bc069cf
--- /dev/null
+++ b/common/src/main/resources/assets/yet_another_config_lib/lang/fr_fr.json
@@ -0,0 +1,29 @@
+{
+ "yacl.control.boolean.true": "Vrai",
+ "yacl.control.boolean.false": "Faux",
+
+ "yacl.control.action.execute": "EXÉCUTION",
+
+ "yacl.gui.save": "Sauvegarder les modifications",
+ "yacl.gui.save.tooltip": "Rend les changements effectués permanents.",
+ "yacl.gui.finished.tooltip": "Ferme la superposition.",
+ "yacl.gui.cancel.tooltip": "Oublie les changements en cours et ferme la superposition.",
+ "yacl.gui.reset.tooltip": "Réinitialise toutes les options par défaut. (Réversible !)",
+ "yacl.gui.undo": "Annuler",
+ "yacl.gui.undo.tooltip": "Rétablit toutes les options telles qu'elles étaient avant l'édition.",
+ "yacl.gui.fail_apply": "Échec de l'application",
+ "yacl.gui.fail_apply.tooltip": "Il y a eu une erreur et les changements n'ont pas pu être appliqués.",
+ "yacl.gui.save_before_exit": "Sauvegardez avant de quitter !",
+ "yacl.gui.save_before_exit.tooltip": "Sauvegardez ou annulez pour quitter la superposition.",
+
+ "yacl.list.move_up": "Monter en haut",
+ "yacl.list.move_down": "Monter en bas",
+ "yacl.list.remove": "Retirer",
+ "yacl.list.add_top": "Nouvelle entrée",
+ "yacl.list.empty": "La liste est vide",
+
+ "yacl.restart.title": "La configuration nécessite un redémarrage !",
+ "yacl.restart.message": "Une ou plusieurs options nécessitent que vous redémarriez le jeu pour appliquer les changements.",
+ "yacl.restart.yes": "Fermer Minecraft",
+ "yacl.restart.no": "Ignorer"
+}
diff --git a/common/src/main/resources/assets/yet_another_config_lib/lang/pl_pl.json b/common/src/main/resources/assets/yet_another_config_lib/lang/pl_pl.json
new file mode 100644
index 0000000..49074ea
--- /dev/null
+++ b/common/src/main/resources/assets/yet_another_config_lib/lang/pl_pl.json
@@ -0,0 +1,23 @@
+{
+ "yacl.control.boolean.true": "Tak",
+ "yacl.control.boolean.false": "Nie",
+
+ "yacl.control.action.execute": "WYKONAJ",
+
+ "yacl.gui.save": "Zapisz zmiany",
+ "yacl.gui.save.tooltip": "Sprawia, że wprowadzone zmiany są trwałe.",
+ "yacl.gui.finished.tooltip": "Zamyka GUI.",
+ "yacl.gui.cancel.tooltip": "Zapomina oczekujące zmiany i zamyka GUI.",
+ "yacl.gui.reset.tooltip": "Resetuje wszystkie opcje do wartości domyślnych. (To jest odwracalne!)",
+ "yacl.gui.undo": "Cofnij",
+ "yacl.gui.undo.tooltip": "Przywraca wszystkie opcje do stanu sprzed edycji.",
+ "yacl.gui.fail_apply": "Nie udało się zastosować",
+ "yacl.gui.fail_apply.tooltip": "Wystąpił błąd i nie udało się zastosować zmian.",
+ "yacl.gui.save_before_exit": "Zapisz przed wyjściem!",
+ "yacl.gui.save_before_exit.tooltip": "Zapisz lub anuluj, aby wyjść z GUI.",
+
+ "yacl.restart.title": "Konfiguracja wymaga restartu!",
+ "yacl.restart.message": "Jedna lub więcej opcji wymaga ponownego uruchomienia gry, aby zastosować zmiany.",
+ "yacl.restart.yes": "Zamknij Minecrafta",
+ "yacl.restart.no": "Ignoruj"
+}
diff --git a/common/src/main/resources/assets/yet_another_config_lib/lang/pt_br.json b/common/src/main/resources/assets/yet_another_config_lib/lang/pt_br.json
new file mode 100644
index 0000000..9d4ef8d
--- /dev/null
+++ b/common/src/main/resources/assets/yet_another_config_lib/lang/pt_br.json
@@ -0,0 +1,18 @@
+{
+ "yacl.control.boolean.true": "Verdadeiro",
+ "yacl.control.boolean.false": "Falso",
+
+ "yacl.control.action.execute": "EXECUTAR",
+
+ "yacl.gui.save": "Salvar Mudanças",
+ "yacl.gui.save.tooltip": "Faz as mudanças serem permanentes.",
+ "yacl.gui.finished.tooltip": "Fecha o GUI.",
+ "yacl.gui.cancel.tooltip": "Esquece as mudanças pendentes e fecha o GUI.",
+ "yacl.gui.reset.tooltip": "Reinicia todas as opções para o valor padrão. (Isso é irreversível!)",
+ "yacl.gui.undo": "Desfazer",
+ "yacl.gui.undo.tooltip": "Reverte todas as opções como elas estavam antes de serem editadas.",
+ "yacl.gui.fail_apply": "Falha na aplicação",
+ "yacl.gui.fail_apply.tooltip": "Houve um erro e as mudanças não puderam ser aplicadas.",
+ "yacl.gui.save_before_exit": "Salve antes de sair!",
+ "yacl.gui.save_before_exit.tooltip": "Salve ou calcele para sair do GUI."
+}
diff --git a/common/src/main/resources/assets/yet_another_config_lib/lang/ru_ru.json b/common/src/main/resources/assets/yet_another_config_lib/lang/ru_ru.json
new file mode 100644
index 0000000..5725d34
--- /dev/null
+++ b/common/src/main/resources/assets/yet_another_config_lib/lang/ru_ru.json
@@ -0,0 +1,24 @@
+{
+ "yacl.control.boolean.true": "§atrue",
+ "yacl.control.boolean.false": "§cfalse",
+
+ "yacl.control.action.execute": "Выполнить",
+
+ "yacl.gui.save": "Сохранить",
+ "yacl.gui.save.tooltip": "Сохранить изменения до следующего редактирования.",
+ "yacl.gui.finished.tooltip": "Закрыть меню.",
+ "yacl.gui.cancel": "Назад",
+ "yacl.gui.cancel.tooltip": "Отменить изменения и закрыть настройки.",
+ "yacl.gui.reset.tooltip": "Сбросить все настройки до значений по умолчанию (их можно восстановить).",
+ "yacl.gui.undo": "Отменить",
+ "yacl.gui.undo.tooltip": "Вернуть все настройки к состоянию, в котором они были до изменений.",
+ "yacl.gui.fail_apply": "Не удалось сохранить",
+ "yacl.gui.fail_apply.tooltip": "Возникла ошибка; изменения невозможно применить.",
+ "yacl.gui.save_before_exit": "Сохраните перед закрытием",
+ "yacl.gui.save_before_exit.tooltip": "Сохраните или отмените изменения, чтобы закрыть настройки.",
+
+ "yacl.restart.title": "Настройки требуют перезагрузки.",
+ "yacl.restart.message": "Одна или несколько настроек требует перезапуска игры для применения изменений.",
+ "yacl.restart.yes": "Закрыть Minecraft",
+ "yacl.restart.no": "Игнорировать"
+}
diff --git a/common/src/main/resources/assets/yet_another_config_lib/lang/sl_si.json b/common/src/main/resources/assets/yet_another_config_lib/lang/sl_si.json
new file mode 100644
index 0000000..743dd4d
--- /dev/null
+++ b/common/src/main/resources/assets/yet_another_config_lib/lang/sl_si.json
@@ -0,0 +1,22 @@
+{
+ "yacl.control.boolean.true": "Vklopljeno",
+ "yacl.control.boolean.false": "Izklopljeno",
+
+ "yacl.control.action.execute": "POŽENI",
+
+ "yacl.gui.save": "Shrani spremembe",
+ "yacl.gui.save.tooltip": "Uvede trajne spremembe.",
+ "yacl.gui.finished.tooltip": "Zapre meni.",
+ "yacl.gui.cancel.tooltip": "Zavrže neshranjene spremembe in zapre meni.",
+ "yacl.gui.reset.tooltip": "Ponastavi vse možnosti na privzete. (To se da razveljaviti!)",
+ "yacl.gui.undo": "Razveljavi",
+ "yacl.gui.undo.tooltip": "Ponastavi vse možnosti na take kot pred spreminjanjem.",
+ "yacl.gui.fail_apply": "Napaka pri uveljavljanju",
+ "yacl.gui.fail_apply.tooltip": "Prišlo je do napake pri uveljavljanju sprememb.",
+ "yacl.gui.save_before_exit": "Shrani pred izhodom!",
+ "yacl.gui.save_before_exit.tooltip": "Shrani ali prekliči za izhod iz menija.",
+ "yacl.restart.title": "Nastavitve potrebujejo ponovni zagon!",
+ "yacl.restart.message": "Vsaj ena izmed nastavitev potrebuje ponovni zagon igre za uveljavitev.",
+ "yacl.restart.yes": "Zapri Minecraft",
+ "yacl.restart.no": "Prezri"
+}
diff --git a/common/src/main/resources/assets/yet_another_config_lib/lang/zh_cn.json b/common/src/main/resources/assets/yet_another_config_lib/lang/zh_cn.json
new file mode 100644
index 0000000..9307c9b
--- /dev/null
+++ b/common/src/main/resources/assets/yet_another_config_lib/lang/zh_cn.json
@@ -0,0 +1,29 @@
+{
+ "yacl.control.boolean.true": "是",
+ "yacl.control.boolean.false": "否",
+
+ "yacl.control.action.execute": "执行",
+
+ "yacl.gui.save": "保存更改",
+ "yacl.gui.save.tooltip": "永久保存所做更改。",
+ "yacl.gui.finished.tooltip": "关闭 GUI。",
+ "yacl.gui.cancel.tooltip": "忽略犹豫不决的更改然后关闭 GUI。",
+ "yacl.gui.reset.tooltip": "将所有选项重置为默认值。(这是可逆的!)",
+ "yacl.gui.undo": "撤销",
+ "yacl.gui.undo.tooltip": "将所有选项恢复到编辑前的状态。",
+ "yacl.gui.fail_apply": "应用失败",
+ "yacl.gui.fail_apply.tooltip": "有一个错误以至于更改不能被应用。",
+ "yacl.gui.save_before_exit": "退出前保存!",
+ "yacl.gui.save_before_exit.tooltip": "保存或取消以退出 GUI。",
+
+ "yacl.list.move_up": "上移",
+ "yacl.list.move_down": "下移",
+ "yacl.list.remove": "移除",
+ "yacl.list.add_top": "新条目",
+ "yacl.list.empty": "列表为空",
+
+ "yacl.restart.title": "配置需要重新启动!",
+ "yacl.restart.message": "一个或多个选项需要你重新启动游戏来应用这些更改。",
+ "yacl.restart.yes": "关闭 Minecraft",
+ "yacl.restart.no": "忽略"
+}
diff --git a/common/src/main/resources/assets/yet_another_config_lib/lang/zh_tw.json b/common/src/main/resources/assets/yet_another_config_lib/lang/zh_tw.json
new file mode 100644
index 0000000..67d05a7
--- /dev/null
+++ b/common/src/main/resources/assets/yet_another_config_lib/lang/zh_tw.json
@@ -0,0 +1,23 @@
+{
+ "yacl.control.boolean.true": "是",
+ "yacl.control.boolean.false": "否",
+
+ "yacl.control.action.execute": "執行",
+
+ "yacl.gui.save": "儲存變更",
+ "yacl.gui.save.tooltip": "儲存你的變更。",
+ "yacl.gui.finished.tooltip": "關閉介面。",
+ "yacl.gui.cancel.tooltip": "取消變更並關閉介面。",
+ "yacl.gui.reset.tooltip": "重設所有選項到預設。(這可以復原!)",
+ "yacl.gui.undo": "復原",
+ "yacl.gui.undo.tooltip": "將所有選項恢復成編輯前的狀態。",
+ "yacl.gui.fail_apply": "套用失敗",
+ "yacl.gui.fail_apply.tooltip": "發生錯誤,無法套用變更。",
+ "yacl.gui.save_before_exit": "在離開時儲存!",
+ "yacl.gui.save_before_exit.tooltip": "儲存或是取消並離開介面。",
+
+ "yacl.restart.title": "變更設定需要重開遊戲!",
+ "yacl.restart.message": "一個或多個選項需要你重開遊戲才能套用變更。",
+ "yacl.restart.yes": "關閉 Minecraft",
+ "yacl.restart.no": "忽略"
+}
diff --git a/common/src/main/resources/yacl-128x.png b/common/src/main/resources/yacl-128x.png
new file mode 100644
index 0000000..c86981c
--- /dev/null
+++ b/common/src/main/resources/yacl-128x.png
Binary files differ
diff --git a/common/src/main/resources/yacl.accesswidener b/common/src/main/resources/yacl.accesswidener
new file mode 100644
index 0000000..2188ea5
--- /dev/null
+++ b/common/src/main/resources/yacl.accesswidener
@@ -0,0 +1,6 @@
+accessWidener v2 named
+
+extendable method net/minecraft/client/gui/components/AbstractSelectionList children ()Ljava/util/List;
+extendable method net/minecraft/client/gui/components/AbstractSelectionList getEntryAtPosition (DD)Lnet/minecraft/client/gui/components/AbstractSelectionList$Entry;
+accessible class net/minecraft/client/gui/components/AbstractSelectionList$Entry
+extendable method net/minecraft/client/gui/components/AbstractButton getTextureY ()I \ No newline at end of file
diff --git a/common/src/main/resources/yacl.mixins.json b/common/src/main/resources/yacl.mixins.json
new file mode 100644
index 0000000..6151c26
--- /dev/null
+++ b/common/src/main/resources/yacl.mixins.json
@@ -0,0 +1,12 @@
+{
+ "required": true,
+ "package": "dev.isxander.yacl.mixin",
+ "compatibilityLevel": "JAVA_17",
+ "injectors": {
+ "defaultRequire": 1
+ },
+ "client": [
+ "AbstractSelectionListMixin",
+ "OptionInstanceAccessor"
+ ]
+}