Posted January 18, 201411 yr When I try to render the texture it comes up with the "missing texture" purple and black. I have the textures in the correct place, so I don't know whats wrong. Code for Block: package com.puplet.pupletmod; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.creativetab.CreativeTabs; public class pupletOre extends Block { public pupletOre(int id, Material mat){ super(mat); this.func_149647_a(CreativeTabs.tabBlock); } @Override public void func_149651_a(IIconRegister p_149651_1_) { this.field_149761_L = p_149651_1_.registerIcon("puplet:orePuplet"); } } Code for Main Class: package com.puplet.pupletmod; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.registry.GameRegistry; @Mod(modid = PupletMod.MODID, version = PupletMod.VERSION) public class PupletMod { public static final String MODID = "Puplet"; public static final String VERSION = "2.0"; //IDs public static Block pupletOre; int pupletOreID = 500; @EventHandler public void init(FMLInitializationEvent event) { pupletOre = new pupletOre(pupletOreID, Material.field_151576_e).func_149663_c("pupletOre").func_149658_d("puplet_ore").func_149711_c(1.5F); GameRegistry.registerBlock(pupletOre, "pupletOre"); } } Don't tell me to learn the basics of java, I already know.
January 18, 201411 yr And where is your texture located? Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
January 18, 201411 yr Author forge-1.7.2-10.12.0.1005-src\src\main\resources\assets\puplet\textures\blocks Don't tell me to learn the basics of java, I already know.
January 18, 201411 yr Show us the "missing texture, unable to load" error log? First thing to check is that the upper/lower case matches exactly. If you are still stuck, this link might help http://www.minecraftforge.net/forum/index.php?topic=11963.0 -TGG
January 18, 201411 yr and the filename? Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
January 18, 201411 yr Author orePuplet.png Don't tell me to learn the basics of java, I already know.
January 18, 201411 yr Check in your bin\main\resources\assets\puplet\textures\blocks to check if your texture is there. I'm back from being gone for... I think its been about a year. I'm pretty sure nobody remembers me, but hello anybody who does!
January 18, 201411 yr Oh ok. I dont know then. I'm back from being gone for... I think its been about a year. I'm pretty sure nobody remembers me, but hello anybody who does!
January 18, 201411 yr Make sure that the same capitalization is used in both cases, the code and folder path. It's case sensitive, and I know I accidentally have messed it up before, it could be something else but it never hurts to check.
January 18, 201411 yr Author Make sure that the same capitalization is used in both cases, the code and folder path. It's case sensitive, and I know I accidentally have messed it up before, it could be something else but it never hurts to check. I checked and the capitalization, and it is correct. Don't tell me to learn the basics of java, I already know.
January 19, 201411 yr Author I have followed everything and it still does not show Don't tell me to learn the basics of java, I already know.
January 19, 201411 yr Hi Show us the "missing texture, unable to load" error log? Did you understand what I mean by this request? It may help us diagnose the problem. -TGG
January 19, 201411 yr Author Hi Show us the "missing texture, unable to load" error log? Did you understand what I mean by this request? It may help us diagnose the problem. -TGG I don't think I'm getting an error log, unless I'm looking in the wrong place. Don't tell me to learn the basics of java, I already know.
January 19, 201411 yr Delete the Forge log, then run the game, then copy and paste the entire contents of the forge log here. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
January 19, 201411 yr Author Where is this log exactly? Don't tell me to learn the basics of java, I already know.
January 19, 201411 yr Try to reload resourcespack(Options.../Resource Packs/Done) I had same problem and it helped me
January 19, 201411 yr If you're running from Eclipse or another Integrated Debugging Environment, look at the console output. It will contain text like 2014-01-19 23:01:32 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Build Faster Mod 2014-01-19 23:01:32 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: speedytools:textures/items/sceptreiconOoops.png 2014-01-19 23:01:33 [iNFO] [sTDOUT] 2014-01-19 23:01:33 [iNFO] [sTDOUT] Starting up SoundSystem... 2014-01-19 23:01:33 [iNFO] [sTDOUT] Initializing LWJGL OpenAL 2014-01-19 23:01:33 [iNFO] [sTDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2014-01-19 23:01:33 [iNFO] [sTDOUT] OpenAL initialized. 2014-01-19 23:01:33 [iNFO] [sTDOUT] and this bit is what you're interested in: 2014-01-19 23:01:32 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: speedytools:textures/items/sceptreiconOoops.png This means it looked for /textures/items/sceptreiconOoops.png under the base path assets/speedytools If you aren't using an IDE, you can open the log file instead ForgeModLoader-client-0.log -TGG
January 19, 201411 yr Author You should use FMLPreInitializationEvent. Wow, that actually worked, thank you so much. Now does anyone know how to fix the names of the blocks and Items? Don't tell me to learn the basics of java, I already know.
January 19, 201411 yr You should use FMLPreInitializationEvent. Wow, that actually worked, thank you so much. Now does anyone know how to fix the names of the blocks and Items? Language files. Just create a file in /assets/lang/ called en_US.lang and put: nameYouSeeInMinecraft=NameYouWant Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
January 19, 201411 yr Author Thanks! Now one more thing. How do you register a crafting recipe. Everything works except the part where you say what the Block/Item is in the recipe. Something like Block.dirt doesn't work anymore. What is it now? Don't tell me to learn the basics of java, I already know.
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.