Jump to content

[1.7.2] Texture in exported mod


Alexander0507

Recommended Posts

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

}

 

 

}

 

 

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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