Posted October 18, 201410 yr Hey all! Brand new to modding, following along with Pahimar's Let's Mod Reboot Series. I have not been able to get my textures to load, no matter what I try. I hunted around the forums (and the net) first, came up with these pages, none of which helped me. http://www.minecraftforge.net/forum/index.php/topic,20387.msg102880.html#msg102880 http://www.minecraftforge.net/forum/index.php/topic,21281.msg108012.html#msg108012 http://www.minecraftforge.net/forum/index.php/topic,20543.msg103767.html#msg103767 http://www.minecraftforge.net/forum/index.php/topic,23583.msg119666.html#msg119666 http://www.minecraftforge.net/forum/index.php/topic,22854.msg115925.html#msg115925 My github repository is here: https://github.com/calebmeyer/Better-Crafting-Tables and is up to date with all the fixes I've tried. A short list: - Rename the texture file (several times) to match what the logging statement had for missing texture - Lowercase the assets subdirectory - Lowercase the resource prefix - Lowercase the modid in the mcmod.info file - Double check that the texture file is a 16x16 png file. I know my assets directory is named correctly, because my en_US.lang file loads perfectly. Pastebin of the exact errors I get on load: http://pastebin.com/XgZCW1xF I have tracked down the error (using Intellij's debug mode) to not having an IResourceManager created for my mod. I don't know how that is created (Pahimar didn't mention it, and everything just worked for him). If you need any more information to help debug this issue, please post it here, and I will update as soon as I can. Thanks!
October 18, 201410 yr What are you doing with registerBlockIcons and getUnlocalizedName? Just use setUnlocalizedName and setBlockTextureName in the constructor. Try: setBlockTextureName("bettercraftingtables:whatever") Check out my mod, Realms of Chaos, here. If I helped you, be sure to press the "Thank You" button!
October 18, 201410 yr Author Thank you for your prompt reply, Eternaldoom. I'm not sure what I'm doing with registerBlockIcons and getUnlocalizedName. Should I remove them? I put them in because Pahimar recommended it. I changed BlockBasicCrafter to only use setBlockTextureName (it didn't have setUnlocalizedName available) in its constructor. That changed my error message to: java.io.FileNotFoundException: bettercraftingtables:textures/blocks/null.png
October 18, 201410 yr Make sure you put in a block name before the texture. Use setBlockName(*name*); though if you are using on of the newer versions of Forge, use: setUnlocalizedName(*name*); -Mitchellbrine Minecraft can do ANYTHING, it's coded in Java and you got the full power of Java behind you when you code. So nothing is impossible. It may be freaking fucking hard though, but still possible If you create a topic on Modder Support, live by this motto: I don't want your charity, I want your information
October 18, 201410 yr Yes, get rid of those methods. Try setBlockTextureName("yourmodid:basic"). Also, what does @GameRegistry.ObjectHolder do? And you might wanna follow a different tutorial, lots of people have had problems with this one. Check out my mod, Realms of Chaos, here. If I helped you, be sure to press the "Thank You" button!
October 18, 201410 yr Author @Mitchellbrine: Added a block name. No dice. @Eternaldoom: Removed @GameRegistry.ObjectHolder (I don't know what it does, Pahimar mentioned it could be related to making sure your blocks/items haven't been tampered with). Can you recommend a tutorial for me to follow for 1.7.10? I don't know how to go about finding one (or how the quality would be if I did find one). I would prefer text tutorials to youtube tutorials, but would accept either. Still no luck with the textures. Thanks for all your help though!
October 18, 201410 yr Follow wuppy29's tutorials at wuppy29.com. Check out my mod, Realms of Chaos, here. If I helped you, be sure to press the "Thank You" button!
October 18, 201410 yr And try deleting those methods in BlockBCT Check out my mod, Realms of Chaos, here. If I helped you, be sure to press the "Thank You" button!
October 19, 201410 yr Author Thank you all! I decided (for grins and giggles) to setup my mod from scratch on my macintosh laptop. The textures were applied, both to the item and the block. That means the problem is with my PC. I will be re-setting up my PC for minecraft development, from scratch. Thanks again for all your 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.