diff options
author | isxander <xander@isxander.dev> | 2024-04-11 18:43:06 +0100 |
---|---|---|
committer | isxander <xander@isxander.dev> | 2024-04-11 18:43:06 +0100 |
commit | 04fe933f4c24817100f3101f088accf55a621f8a (patch) | |
tree | feff94ca3ab4484160e69a24f4ee38522381950e /src/main/resources | |
parent | 831b894fdb7fe3e173d81387c8f6a2402b8ccfa9 (diff) | |
download | YetAnotherConfigLib-04fe933f4c24817100f3101f088accf55a621f8a.tar.gz YetAnotherConfigLib-04fe933f4c24817100f3101f088accf55a621f8a.tar.bz2 YetAnotherConfigLib-04fe933f4c24817100f3101f088accf55a621f8a.zip |
Extremely fragile and broken multiversion build with stonecutter
Diffstat (limited to 'src/main/resources')
21 files changed, 483 insertions, 0 deletions
diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml new file mode 100644 index 0000000..b130a4e --- /dev/null +++ b/src/main/resources/META-INF/mods.toml @@ -0,0 +1,31 @@ +modLoader = "javafml" +loaderVersion = "[1,)" +#issueTrackerURL = "" +license = "LGPL-3.0-or-later" + +[[mods]] +modId = "${id}" +version = "${version}" +displayName = "${name}" +authors = "isXander" +description = ''' +${description} +''' +logoFile = "yacl-128x.png" + +[[mixins]] +config = "yacl.mixins.json" + +[["dependencies.${id}"]] +modId = "neoforge" +mandatory = true +versionRange = "[20,)" +ordering = "NONE" +side = "BOTH" + +[["dependencies.${id}"]] +modId = "minecraft" +mandatory = true +versionRange = "[1.20.3,)" +ordering = "NONE" +side = "BOTH" diff --git a/src/main/resources/assets/yet_another_config_lib/lang/be_by.json b/src/main/resources/assets/yet_another_config_lib/lang/be_by.json new file mode 100644 index 0000000..16f84f0 --- /dev/null +++ b/src/main/resources/assets/yet_another_config_lib/lang/be_by.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": "New entry", + "yacl.list.empty": "Спіс пусты", + + "yacl.restart.title": "Налады патрабуюць перазапуск!", + "yacl.restart.message": "Адна ці больш налад патрабуе перазапуск гульні, каб ужыць змены.", + "yacl.restart.yes": "Закрыць Minecraft", + "yacl.restart.no": "Ігнараваць" +} diff --git a/src/main/resources/assets/yet_another_config_lib/lang/el_gr.json b/src/main/resources/assets/yet_another_config_lib/lang/el_gr.json new file mode 100644 index 0000000..b7bc2d2 --- /dev/null +++ b/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/src/main/resources/assets/yet_another_config_lib/lang/en_us.json b/src/main/resources/assets/yet_another_config_lib/lang/en_us.json new file mode 100644 index 0000000..c04d29e --- /dev/null +++ b/src/main/resources/assets/yet_another_config_lib/lang/en_us.json @@ -0,0 +1,31 @@ +{ + "yacl.control.boolean.true": "True", + "yacl.control.boolean.false": "False", + + "yacl.control.action.execute": "EXECUTE", + + "yacl.control.text.blank": "<blank>", + + "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/src/main/resources/assets/yet_another_config_lib/lang/et_ee.json b/src/main/resources/assets/yet_another_config_lib/lang/et_ee.json new file mode 100644 index 0000000..5f5274a --- /dev/null +++ b/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/src/main/resources/assets/yet_another_config_lib/lang/fr_fr.json b/src/main/resources/assets/yet_another_config_lib/lang/fr_fr.json new file mode 100644 index 0000000..bc069cf --- /dev/null +++ b/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/src/main/resources/assets/yet_another_config_lib/lang/it_it.json b/src/main/resources/assets/yet_another_config_lib/lang/it_it.json new file mode 100644 index 0000000..1489071 --- /dev/null +++ b/src/main/resources/assets/yet_another_config_lib/lang/it_it.json @@ -0,0 +1,31 @@ +{ + "yacl.control.boolean.true": "Vero", + "yacl.control.boolean.false": "Falso", + + "yacl.control.action.execute": "ESEGUI", + + "yacl.control.text.blank": "<vuoto>", + + "yacl.gui.save": "Salva Modifiche", + "yacl.gui.save.tooltip": "Rende permanenti le modifiche apportate.", + "yacl.gui.finished.tooltip": "Chiude la GUI.", + "yacl.gui.cancel.tooltip": "Scarta le modifiche in sospeso e chiude la GUI.", + "yacl.gui.reset.tooltip": "Ripristina tutte le opzioni ai valori predefiniti. (È reversibile!)", + "yacl.gui.undo": "Annulla", + "yacl.gui.undo.tooltip": "Ripristina tutte le opzioni a ciò che erano prima della modifica.", + "yacl.gui.fail_apply": "Applicazione delle opzioni non riuscita", + "yacl.gui.fail_apply.tooltip": "Si è verificato un errore e le modifiche non hanno potuto essere applicate.", + "yacl.gui.save_before_exit": "Salvare prima di uscire!", + "yacl.gui.save_before_exit.tooltip": "Salva o annulla per uscire dalla GUI.", + + "yacl.list.move_up": "Sposta su", + "yacl.list.move_down": "Sposta giù", + "yacl.list.remove": "Rimuovi", + "yacl.list.add_top": "Nuova voce", + "yacl.list.empty": "La lista è vuota", + + "yacl.restart.title": "L'opzione richiede il riavvio!", + "yacl.restart.message": "Una o più opzioni richiedono il riavvio del gioco per applicare le modifiche.", + "yacl.restart.yes": "Chiudi Minecraft", + "yacl.restart.no": "Ignora" +} diff --git a/src/main/resources/assets/yet_another_config_lib/lang/nl_nl.json b/src/main/resources/assets/yet_another_config_lib/lang/nl_nl.json new file mode 100644 index 0000000..c432cda --- /dev/null +++ b/src/main/resources/assets/yet_another_config_lib/lang/nl_nl.json @@ -0,0 +1,31 @@ +{ + "yacl.control.boolean.true": "Waar", + "yacl.control.boolean.false": "Niet Waar", + + "yacl.control.action.execute": "UITVOEREN", + + "yacl.control.text.blank": "<blanco>", + + "yacl.gui.save": "Wijzigingen Opslaan", + "yacl.gui.save.tooltip": "Maak de aangebrachte wijzigingen permanent.", + "yacl.gui.finished.tooltip": "Sluit de GUI.", + "yacl.gui.cancel.tooltip": "Vergeet wijzigingen en sluit het GUI.", + "yacl.gui.reset.tooltip": "Zet alle opties terug naar de standaardwaarden. (Dit is omkeerbaar!)", + "yacl.gui.undo": "Ongedaan maken", + "yacl.gui.undo.tooltip": "Zet alle opties terug naar wat ze waren voor het bewerken.", + "yacl.gui.fail_apply": "Toepassen gefaald", + "yacl.gui.fail_apply.tooltip": "Er is een fout opgetreden en de wijzigingen konden niet worden toegepast.", + "yacl.gui.save_before_exit": "Slaag op voordat u afsluit!", + "yacl.gui.save_before_exit.tooltip": "Slaag op of annuleer om het GUI af te sluiten.", + + "yacl.list.move_up": "Ga omhoog", + "yacl.list.move_down": "Ga omlaag", + "yacl.list.remove": "Verwijder", + "yacl.list.add_top": "Nieuwe invoer", + "yacl.list.empty": "Lijst is leeg", + + "yacl.restart.title": "Configuratie vereist opnieuw opstarten!", + "yacl.restart.message": "Voor één of meer opties moet je het spel opnieuw opstarten om de wijzigingen toe te passen.", + "yacl.restart.yes": "Sluit Minecraft", + "yacl.restart.no": "Negeren" +} diff --git a/src/main/resources/assets/yet_another_config_lib/lang/pl_pl.json b/src/main/resources/assets/yet_another_config_lib/lang/pl_pl.json new file mode 100644 index 0000000..49074ea --- /dev/null +++ b/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/src/main/resources/assets/yet_another_config_lib/lang/pt_br.json b/src/main/resources/assets/yet_another_config_lib/lang/pt_br.json new file mode 100644 index 0000000..9d4ef8d --- /dev/null +++ b/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/src/main/resources/assets/yet_another_config_lib/lang/ru_ru.json b/src/main/resources/assets/yet_another_config_lib/lang/ru_ru.json new file mode 100644 index 0000000..5725d34 --- /dev/null +++ b/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/src/main/resources/assets/yet_another_config_lib/lang/sl_si.json b/src/main/resources/assets/yet_another_config_lib/lang/sl_si.json new file mode 100644 index 0000000..743dd4d --- /dev/null +++ b/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/src/main/resources/assets/yet_another_config_lib/lang/tt_ru.json b/src/main/resources/assets/yet_another_config_lib/lang/tt_ru.json new file mode 100644 index 0000000..06d005a --- /dev/null +++ b/src/main/resources/assets/yet_another_config_lib/lang/tt_ru.json @@ -0,0 +1,34 @@ +{ + "modmenu.summaryTranslation.yacl": "Төзүче нигезендә Minecraft өчен көйләүләр китапханәсе.", + "modmenu.descriptionTranslation.yacl": "YetAnotherConfigLib (yacl) — нәкъ менә кирәк нәрсә. Төзүче нигезендә Minecraft өчен көйләүләр китапханәсе.", + + "yacl.control.boolean.true": "Дөрес", + "yacl.control.boolean.false": "Ялган", + + "yacl.control.action.execute": "ҮТӘҮ", + + "yacl.control.text.blank": "<буш>", + + "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/src/main/resources/assets/yet_another_config_lib/lang/zh_cn.json b/src/main/resources/assets/yet_another_config_lib/lang/zh_cn.json new file mode 100644 index 0000000..9307c9b --- /dev/null +++ b/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/src/main/resources/assets/yet_another_config_lib/lang/zh_tw.json b/src/main/resources/assets/yet_another_config_lib/lang/zh_tw.json new file mode 100644 index 0000000..0ac792f --- /dev/null +++ b/src/main/resources/assets/yet_another_config_lib/lang/zh_tw.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": "關閉介面。", + "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.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/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json new file mode 100644 index 0000000..bc49bd9 --- /dev/null +++ b/src/main/resources/fabric.mod.json @@ -0,0 +1,38 @@ +{ + "schemaVersion": 1, + "id": "${id}", + "version": "${version}", + "name": "${name}", + "description": "${description}", + "authors": [ + "isXander" + ], + "contact": { + "homepage": "https://isxander.dev", + "issues": "https://github.com/${github}/issues", + "sources": "https://github.com/${github}" + }, + "icon": "yacl-128x.png", + "license": "LGPL-3.0-or-later", + "environment": "*", + "depends": { + "fabricloader": ">=0.15.0", + "minecraft": "${mc}", + "java": ">=17", + "fabric-resource-loader-v0": "*" + }, + "mixins": [ + "yacl.mixins.json", + "yacl-fabric.mixins.json" + ], + "entrypoints": { + "client": [ + "dev.isxander.yacl3.platform.PlatformEntrypoint" + ] + }, + "custom": { + "modmenu": { + "badges": ["library"] + } + } +} diff --git a/src/main/resources/pack.mcmeta b/src/main/resources/pack.mcmeta new file mode 100644 index 0000000..a9c6340 --- /dev/null +++ b/src/main/resources/pack.mcmeta @@ -0,0 +1,6 @@ +{ + "pack": { + "description": "${name}", + "pack_format": 14 + } +}
\ No newline at end of file diff --git a/src/main/resources/yacl-128x.png b/src/main/resources/yacl-128x.png Binary files differnew file mode 100644 index 0000000..c86981c --- /dev/null +++ b/src/main/resources/yacl-128x.png diff --git a/src/main/resources/yacl-fabric.mixins.json b/src/main/resources/yacl-fabric.mixins.json new file mode 100644 index 0000000..f755f0f --- /dev/null +++ b/src/main/resources/yacl-fabric.mixins.json @@ -0,0 +1,11 @@ +{ + "required": true, + "package": "dev.isxander.yacl3.mixin", + "compatibilityLevel": "JAVA_17", + "injectors": { + "defaultRequire": 1 + }, + "client": [ + "ContainerEventHandlerMixin" + ] +} diff --git a/src/main/resources/yacl.accesswidener b/src/main/resources/yacl.accesswidener new file mode 100644 index 0000000..7c0e2ca --- /dev/null +++ b/src/main/resources/yacl.accesswidener @@ -0,0 +1,12 @@ +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 +accessible method net/minecraft/client/gui/components/tabs/TabNavigationBar <init> (ILnet/minecraft/client/gui/components/tabs/TabManager;Ljava/lang/Iterable;)V +accessible field net/minecraft/client/gui/components/tabs/TabNavigationBar layout Lnet/minecraft/client/gui/layouts/GridLayout; +accessible field net/minecraft/client/gui/components/tabs/TabNavigationBar width I +accessible field net/minecraft/client/gui/components/tabs/TabNavigationBar tabManager Lnet/minecraft/client/gui/components/tabs/TabManager; +accessible field net/minecraft/client/gui/components/tabs/TabNavigationBar tabs Lcom/google/common/collect/ImmutableList; +accessible field net/minecraft/client/gui/components/tabs/TabNavigationBar tabButtons Lcom/google/common/collect/ImmutableList; +accessible method net/minecraft/client/gui/components/Tooltip <init> (Lnet/minecraft/network/chat/Component;Lnet/minecraft/network/chat/Component;)V diff --git a/src/main/resources/yacl.mixins.json b/src/main/resources/yacl.mixins.json new file mode 100644 index 0000000..2385a1b --- /dev/null +++ b/src/main/resources/yacl.mixins.json @@ -0,0 +1,14 @@ +{ + "required": true, + "package": "dev.isxander.yacl3.mixin", + "compatibilityLevel": "JAVA_17", + "injectors": { + "defaultRequire": 1 + }, + "client": [ + "AbstractSelectionListMixin", + "MinecraftMixin", + "OptionInstanceAccessor", + "TabNavigationBarAccessor" + ] +} |