Last updated 1 year ago
Adding a lang file is as easy as adding a texture:
resources.lang("<lang key>", "<lang value>", "<lang name(optional, default - en_us)>");
// This code replaces the "menu.singleplayer" key with "Amogus" when the language is set to russian VirtualResourcePack resources = new VirtualResourcePack("minecraft"); resources.lang("menu.singleplayer", "Amogus", "ru_ru");