Dijkstra Posted April 13, 2016 Share Posted April 13, 2016 I have seen other load textures into the game use texture in the game instead of using resource pack for items that a later added by the user with configs anyway, I would like to do something similar, is there any easy way to do this. Quote Link to comment Share on other sites More sharing options...
Dijkstra Posted April 15, 2016 Author Share Posted April 15, 2016 Yes 1.7.10 last 1.7.10 mod I am working on will port to 1.9 when learn all the json stuff. Anyway I would like to load the texture of an mobs base on Steve's build but the texture will be design by the user, so I want to load these textures for the miecraftdir/resources/mymodid/customTraders, as an user will be making the texture it can not be part of resources pack. Quote Link to comment Share on other sites More sharing options...
Choonster Posted April 15, 2016 Share Posted April 15, 2016 You need to create an IResourcePack for that directory (using either FolderResourcePack or your own implementation) and add it to the Minecraft#defaultResourcePacks list. This field is private, so you'll need to use reflection to access it. Quote Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future. Link to comment Share on other sites More sharing options...
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.