Jump to content

[1.7.2]Textures doesn't load


DrBlock42

Recommended Posts

[Forge-Version: 10.12.1.1065]

Hi there,

I have a weird problem: My textures doesn't load.

My language file load fine, but my textures doesn't.

Here is the code:

 

package de.DrBlock42.extrastuff;

import net.minecraft.block.Block;[...]

@Mod(modid = extraStuff.modid, name = extraStuff.modid, version = extraStuff.version)
public class extraStuff {
//region ModVariables
	@SidedProxy(clientSide = "de.DrBlock42." + extraStuff.modid + ".ClientProxy", serverSide = "de.DrBlock42." + extraStuff.modid + ".CommonProxy")
	public static CommonProxy proxy;

	@Instance(extraStuff.modid)
	public static extraStuff instance;

	public static final String modid = "extrastuff";
	public static final String version = "0.0.1alpha";
//endregion

public static CreativeTabs tab = new CreativeTabs(extraStuff.modid){
	@Override
	public Item getTabIconItem() {
		return Items.written_book;
	}
};	

public static Block block_matter;

@EventHandler
public void preInit(FMLPreInitializationEvent e)
{
	//region registerBlock()
	block_matter = new blockMatter();
	GameRegistry.registerBlock(block_matter, this.modid + ":" + blockMatter.blockId);
	//endregion
}	

@EventHandler
public void init(FMLInitializationEvent e)
{	
	proxy.registerProxies();
}
}

 

package de.DrBlock42.extrastuff.blocks;

import de.DrBlock42.extrastuff.extraStuff;[...]

public class blockMatter extends Block{
public static final String blockId = "blockMatter";

public blockMatter() {
	super(Material.ground);
	setBlockName(extraStuff.modid + ":" + this.blockId);
	setCreativeTab(extraStuff.tab);
	setBlockTextureName(extraStuff.modid + ":" + this.blockId + ".png");
}

}

 

width=483 height=941https://photos-1.dropbox.com/t/0/AACIJLKTSLgXn049EU2aQJdka6MO_4lwnPEKdSt7CD3g9g/12/256247115/png/2048x1536/3/1398952800/0/2/package%20explorer.PNG/4qxkYKHbvAgrCknJrqfQnPYS40_cU384GC9IoUyRNso[/img]

Image: https://www.dropbox.com/s/9ateprjkt0nwhr5/package%20explorer.PNG?n=256247115

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.