Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[1.7.2] Using Missing Texture unable to load minecraft:textures/blocks.....

Featured Replies

Posted

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

  • Author

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!

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.

 

If I helped please press the Thank You button.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.