I have just started coding a sample mod to go through all the new things in forge.
I have created a sample block the block shows up in game but the texture is not working I have created a block texture folder here...
and called my block texture: sampleBlock.png
I have tried to forms of loading textures but neither worked. I looked at the console output and it states nothing with missing textures. I also tried using a default texture "stone" same result.
Here are the ways I tried to load the texture
In my main class file
public static Block sampleBlock = new BlockSample(3000, Material.rock).setBlockName("sampleBlock").setBlockTextureName("samplemod:sampleBlock");
and in my block class file
@SideOnly(Side.CLIENT)
public void registericons(IIconRegister reg) {
this.blockIcon = reg.registerIcon(Main.MODID + ":sampleBlock");
}
Any Ideas?