Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.9] Adding a permanent resource pack


wehttam664
 Share

Recommended Posts

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?

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.