Posted April 24, 20169 yr I'm trying to do a number of things with the game's Languages and I found that resource packs are fully capable of doing what it is I need to do. However, I need to ensure this pack is activated at start and cannot be deactivated, much like the DefaultResourcePack loaded by Minecraft. I chased the loading of such down to ResourcePackRepository and spotted the setRepositores(List<Entry>) method, but the entry it accepts is not publicly accessible. func_188565_b() appears to get an Entry from the last call to setResourcePackInstance(File), but that method accepts a file. While I'm not above reflection, I'd like to avoid it if possible. Is there a way to inject a permanent resource pack?
April 24, 20169 yr Author Somehow I am surprised I did not see that one line up from mcDefaultResourcePack. Sometimes it takes a second pair of eyes, I guess. Thank you, I'll play around with that.
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.