Posted May 8, 201411 yr Everything looks fine in the Eclipse debugging emulator: But then I output the final mode (using gradlew build) and in Minecraft none of the textures are displaying: Here's my file structure. I have a feeling I have my textures in the wrong spot. Any ideas?
May 8, 201411 yr Is the modid "Generic" or "generic"? Long time Bukkit & Forge Programmer Happy to try and help
May 8, 201411 yr Hi Some help with textures: http://greyminecraftcoder.blogspot.com.au/2013/12/overview-of-forge-and-what-it-can-do.html http://www.minecraftforge.net/forum/index.php?topic=11963.0 Typically this problem is caused by the upper/lower case doesn't match exactly. -TGG
May 8, 201411 yr Eclipse ignores case ('G' or 'g') in images. Normal Minecraft does not. Make the names of the images are the exact same as what you set them to. So if setTextureName(prefix + "genericIngot"); Then the image should be named "genericIngot" Lead DivineRPG Developer
May 8, 201411 yr if this doesn't work, check out Wuppy29's tutorial about releasing your mod, check that the resources are in the right place. http://www.wuppy29.com/minecraft/modding-tutorials/wuppys-minecraft-forge-modding-tutorials-for-1-7-releasing-your-mod-standard-setup/
May 8, 201411 yr For me at least "gradlew build" does not put the assets folder in the jar, that might be your issue?
May 9, 201411 yr Author Eclipse ignores case ('G' or 'g') in images. Normal Minecraft does not. Make the names of the images are the exact same as what you set them to. Perfect. I made the changes and the textures are now displaying. Thank you!
May 9, 201411 yr Author For me at least "gradlew build" does not put the assets folder in the jar, that might be your issue? No, the textures are there. The issue was that I had the first letter capitalised, where as the code was looking for lowercase. Worked fine in Eclipse, but Minecraft didn't like it. If gradlew build is not putting your textures in the assets folder, check your folder structure in Eclipse. This video goes through a few different structures before getting it right, which I found useful.
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.