Posted March 5, 201411 yr comment_87384 When I run my mod in Eclipse every texture works. When running minecraft with my mod every Texture works except one block texture. The other block works fine and also both textures are in the jar.
March 5, 201411 yr comment_87408 do you have your resource location linked up right in eclipse. Hint: If you have recently put in a texture into the folder for your mod, then you sometimes need to refresh eclipse in order for them to show up in eclipse Good Luck Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!
March 5, 201411 yr comment_87415 in Eclipse every texture works need to refresh eclipse ... 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.
March 6, 201411 yr Author comment_87516 It's exactly in the folders as in the dev folders and written in the code. Also it's funny that one of the block textures is working and the other not
March 6, 201411 yr comment_87552 Hi Could you pls post- the console "texture missing" error message your code for registering the block texture a screenshot of the zip file folder structure containing your textures -TGG
March 7, 201411 yr Author comment_87642 log(from ATLauncher): [2014-03-07 13:46:07] java.io.FileNotFoundException: nividium:textures/blocks/nividium.png [2014-03-07 13:46:07] at net.minecraft.client.resources.FallbackResourceManager.func_110536_a(SourceFile:51) ~[bqh.class:?] [2014-03-07 13:46:07] at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110536_a(SourceFile:55) ~[bqx.class:?] [2014-03-07 13:46:07] at net.minecraft.client.renderer.texture.TextureMap.func_110571_b(TextureMap.java:126) [bpr.class:?] [2014-03-07 13:46:07] at net.minecraft.client.renderer.texture.TextureMap.func_110551_a(TextureMap.java:91) [bpr.class:?] [2014-03-07 13:46:07] at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(SourceFile:72) [bpx.class:?] [2014-03-07 13:46:07] at net.minecraft.client.renderer.texture.TextureManager.func_110580_a(SourceFile:61) [bpx.class:?] [2014-03-07 13:46:07] at net.minecraft.client.renderer.texture.TextureManager.func_130088_a(SourceFile:52) [bpx.class:?] [2014-03-07 13:46:07] at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:552) [azd.class:?] [2014-03-07 13:46:07] at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:849) [azd.class:?] [2014-03-07 13:46:07] at net.minecraft.client.main.Main.main(SourceFile:103) [Main.class:?] [2014-03-07 13:46:07] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45] [2014-03-07 13:46:07] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45] [2014-03-07 13:46:07] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45] [2014-03-07 13:46:07] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45] [2014-03-07 13:46:07] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] [2014-03-07 13:46:07] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] [2014-03-07 13:46:07] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [2014-03-07 13:46:07] [Client thread/INFO]: Created: 256x256 textures/items-atlas [2014-03-07 13:46:07] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods Path: NividiumOre class: package Lord_of_Block.blocks; import Lord_of_Block.base.main; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.creativetab.CreativeTabs; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; public class NividiumOre extends Block{ protected NividiumOre(Material mat) { super(mat); setCreativeTab(CreativeTabs.tabBlock); setBlockName("Nividium Ore"); setBlockTextureName("nividium:nividium"); } }
March 7, 201411 yr Author comment_87647 The normal ModID is uppercase but, first shouldn't matter and second if I rename the folder of the textures (in the jar) to uppercase NO texture can be loaded
March 7, 201411 yr Author comment_87650 Also no texture can be loaded with lowercase modID. The funny thing is that just ONE fucking textrue isn't working ^^.
March 7, 201411 yr comment_87738 Hi That's quite strange. Personally I don't see anything wrong. I gather the texture that does work is nividium_block.png, say for a class called NividiumBlock? If so, you could perhaps try setting your NividiumBlock texture to use nividium.png, and set your NividiumOre texture to use nividium_block.png. If the problem moves with the filename, that is a useful clue. If it stays with the class, that is also a useful clue. -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.