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.

Featured Replies

Posted

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.

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!

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.

  • Author

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 O.o

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

  • Author

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");

}

 

 

}

 

 

 

  • Author

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

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.

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.