Mitchellbrine Posted October 10, 2016 Posted October 10, 2016 Back in the 1.7 days and prior (a long time ago, I know), there used to be a way to load an external lang file, with its map of translations, into the game. For example, I would have a file in the config folder that would be labeled and (just for clarity to the end user) given the extension .lang. Using the line LanguageRegistry.instance().loadLocalization(file.toURI().toURL(),"en_US",false); // I understand that it's a sloppy line, but you get the gist of the use of the loadLocalization function I could load a file of translations into the en_US language in the game. Is there a contemporary equivalent that I could use in order to achieve the same result? If not, how would I go about doing this? Would I need to create a new ResourcePack and load that in? Thanks in advance! Quote -Mitchellbrine Quote Minecraft can do ANYTHING, it's coded in Java and you got the full power of Java behind you when you code. So nothing is impossible. It may be freaking fucking hard though, but still possible If you create a topic on Modder Support, live by this motto: Quote I don't want your charity, I want your information
Mitchellbrine Posted October 10, 2016 Author Posted October 10, 2016 Nothing is wrong with making a resource pack. I was just wondering what the 1.9 equivalent of the LanguageRegistry.instance().loadLocalization is. If it's resource packs, awesome, I'll get on that! Quote -Mitchellbrine Quote Minecraft can do ANYTHING, it's coded in Java and you got the full power of Java behind you when you code. So nothing is impossible. It may be freaking fucking hard though, but still possible If you create a topic on Modder Support, live by this motto: Quote I don't want your charity, I want your information
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.