Posted May 28, 201411 yr I just turned my mod into a .jar file and i ran it with the right minecraft forge version but for some reason the textures of the blocks and items I put in with my mod don't work. Yet when I go into my workspace with eclipse and I Run Client the textures and the names of the items and blocks work.
May 28, 201411 yr Post your code related with the textures and the directories in the jar file. I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
May 28, 201411 yr Author To set the texture I am doing this in the class of each block and item setBlockTextureName(TestMod.MODID + ":" + getUnlocalizedName().substring(5));
May 28, 201411 yr What is your modId? and what is the unlocalizedname of the block? And you didn't post where your textures are in the jar file. PS. It is not recommended to use getUnlocalizedName().substring(5), it could be confusing. ex) "heatcauldron" and "heatcasing" would have same texture, for the texture name only contains first 5 characters. I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
May 28, 201411 yr Author My MODID is testmod_yashagoro and the first folder is Assets then testmod_yashagoro then textures then there are three folders blocks items and models and the textures are within those folders P.S. I have to go so i'll be able to reply in 30 minutes to 1 hour
May 28, 201411 yr So your texture folder is: assets\testmod_yashagoro\textures? I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
May 28, 201411 yr Hi This link might help http://www.minecraftforge.net/forum/index.php/topic,18371.msg92948.html#msg92948 -TGG
May 28, 201411 yr Author I discovered my error after going through my file paths again I realized that my assets folder had the a as an upper case and I changed that to a lower case and it fixed it thanks for the help
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.