Jump to content

trying to return a list of images (armors) loaded into minecraft


Nuchaz

Recommended Posts

Hello, I am trying to write a method that can scan and ultimately return an array of texture names from the /armor/ directory. I know this directory exists inside of minecraft.jar and inside a bunch of files inside the /mods/ folder, but when loaded up minecraft sees them all as being in /armor/.  At first I was thinking I could use some file operations with File and/or JarFile and loading minecraft.jar and returning what I need. But then I realized that probably won't get me the armor textures inside of all the mod files. It seems a little overkill to have to write methods to scan though all the .zip's and .jar's in /mods/ folder manually just to find these textures.

 

Is there an easier way through forge to list of all .png's that can be found in /armor/ plus its sub-directories?

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
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.