Jump to content

Recommended Posts

Posted

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.   

Posted

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.

Posted

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.

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.

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

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