Shelly Posted April 27, 2014 Posted April 27, 2014 Hi I'm new to 1.7 modding and I have a problem with loading textures here is the client log. [13:06:37] [sound Library Loader/INFO]: Sound engine started [13:06:37] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/Slate.png java.io.FileNotFoundException: minecraft:textures/blocks/Slate.png at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[simpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTickableTexture(TextureManager.java:71) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTextureMap(TextureManager.java:58) [TextureManager.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:579) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:890) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] [13:06:37] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas [13:06:37] [Client thread/INFO]: Created: 256x256 textures/items-atlas [13:06:37] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods [13:06:38] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:ss_ssmod, FMLFileResourcePack:SSMod [13:06:38] [Client thread/INFO]: Created: 256x256 textures/items-atlas [13:06:38] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/Slate.png java.io.FileNotFoundException: minecraft:textures/blocks/Slate.png at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[simpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:126) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureMap.loadTexture(TextureMap.java:91) [TextureMap.class:?] at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?] at net.minecraft.client.renderer.texture.TextureManager.onResourceManagerReload(TextureManager.java:170) [TextureManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:134) [simpleReloadableResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:118) [simpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:624) [Minecraft.class:?] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:283) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:583) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:890) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_45] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_45] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] [13:06:38] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas Here is the main mod file package com.shelly_sparrow.ssmod; import net.minecraft.block.Block; import com.shelly_sparrow.ssmod.help.Reference; import com.shelly_sparrow.ssmod.help.RegisterHelper; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.event.FMLPreInitializationEvent; @Mod(modid = Reference.MODID, version = Reference.VERSION) public class SSMod { public static Block Slate; @EventHandler public void preInit(FMLPreInitializationEvent event) { System.out.println("........INITIALIZING........"); System.out.println("--Checking RAM--"); System.out.println("--Checking ROM--"); System.out.println("--Spooling Discs--"); System.out.println("--ALL systems operating within normal parameters--"); System.out.println("--Purging RAM--"); System.out.println("--Loading SSMod.java--"); System.out.println("--SSMod.java successfully loaded into operational memory--"); System.out.println("........END OF LINE........"); System.out.println("--Computer is now bored--"); System.out.println("--Computer says NO!--"); System.out.println("--Computer MUST Compute!--"); System.out.println("--Twidiling with Izzy's Hair--"); System.out.println("--Eating Claire's Cakes--"); System.out.println("--Teaching Lauren Sarcasm--"); System.out.println("--Breeding Dan Turtles--"); System.out.println("--Taking Lots of Selfies--"); System.out.println("--Starting the Frazpig Raving Machine--"); System.out.println("........END OF LINE........"); Slate = new BlockSlate(); RegisterHelper.registerBlock(Slate); } } And here is the BlockSlate.java package com.shelly_sparrow.ssmod; import com.shelly_sparrow.ssmod.help.Reference; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; public class BlockSlate extends Block { public BlockSlate() { super(Material.rock); setBlockName("Slate"); setBlockTextureName(getUnlocalizedName().substring(5)); setCreativeTab(CreativeTabs.tabBlock); } } Also for some reason I get 2 Slate in game https://www.dropbox.com/s/414raiz8og8euyg/screen.png Quote
TheGreyGhost Posted April 27, 2014 Posted April 27, 2014 Hi These links might help with the missing texture part http://www.minecraftforge.net/forum/index.php/topic,18371.msg92948.html#msg92948 and http://www.minecraftforge.net/forum/index.php/topic,11963.0.html -TGG Quote
Shelly Posted April 27, 2014 Author Posted April 27, 2014 Hi Thanks But I have had no hope with fixing textures, but I am more concerned why I have 2 of the same mod loaded. But never mind I have decided to just start again as there is so many things that are wrong! Quote
KeeperofMee Posted April 28, 2014 Posted April 28, 2014 First off if you're trying to use a regular minecraft texture you do: setBlockTextureName("texturename"); and if you're trying to use your own you do setBlockTextureName(MainModFile.modid + ":" + "texturename") and you put your textures in a folder called assets.YOURMODID.textures.blocks you do not use minecraft.textures.blocks Also blocks don't use setUnlocalizedName(""); it's only items. Quote If I helped please press the Thank You button.
Recommended Posts
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.