Posted May 11, 201411 yr Greetings! I've made a custom leaf block for a custom tree although I don't understand how to get the texture to show. I've looked at other people's custom leaf block source code but none of the functions have methods assigned in the class so they don't work. If someone could tell me what I'm doing wrong or direct me to custom leaf class code that has working textures that would be excellent. Any help is greatly appreciated! Custom Leaf Class - http://pastebin.com/xTsnqauG
May 12, 201411 yr Hi The error log should show a line something like "texture not found: showing missing texture" Pls post that here? > none of the functions have methods assigned in the class This might be an obvious question- do you realise that, if BlockTulipTreeLeaves extends BlockLeavesBase, and BlockLeavesBase extends Block, then you can override Block methods in your BlockTulipTreeLeaves? -TGG
May 12, 201411 yr Author Thank you for the reply and here is the missing textures error I get. 2014-05-12 05:53:01 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/BlockTulipTreeLeavesOpaque.png 2014-05-12 05:53:01 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/BlockTulipTreeLeaves.png 2014-05-12 05:53:01 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_203_BlockTulipSapling_Tulip.png And I've named the textures to BlockTulipTreeLeaves along with BlockTulipTreeLeavesOpaque and I've also tried changing the texture named to "modname/BlockTulipTreeLeaves/" or Main.modid + ":" + "BlockTulipTreeLeaves" yet nothing seems to be working. The texture file is of course.
May 12, 201411 yr Hi A few things to try This link shows where the files should go http://greyminecraftcoder.blogspot.com.au/2013/12/overview-of-forge-and-what-it-can-do.html If you still can't find it, this might help http://www.minecraftforge.net/forum/index.php/topic,11963.0.html Keep in mind that the upper/lower case must match exactly. You should use Main.modid + ":BlockTulipTreeLeaves" otherwise it will look in the minecraft resources folder (that's what the minecraft: in your error log means) It also looks like you've forgotten to setTextureName your BlockTulipSapling_Tulip properly (hence the MISSING_ICON_TILE_203). -TGG
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.