Posted February 27, 201312 yr 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?
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.