Jump to content

shaqaruden

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by shaqaruden

  1. 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?
×
×
  • Create New...

Important Information

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