Views
Actions
Datageneration/I18n/1.16
From Forge Community Wiki
Revision as of 03:58, 27 July 2021 by ShrimpBot (talk | contribs) (Copy Datageneration/I18n to MC1.16 archive)
Lang Files can be generated by creating an extension of the file LanguageProvider
class. From there you can add the translations in the addTranslations
method, which you must override.
To add a translation, call the LanguageProvider#add
method. This method takes the translation key/1.16 and a string that is the displayname for the key.