Minecraft modding 1.7.10 setTextureName not working
<p>I am making a new mod and my block textures work fine but my item textures dont
i need assistance on this because i just started to code java
This Is My Script:</p>

<pre><code>package com.HaydenMod.item;

import com.HaydenMod.lib.RefStrings;

import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;

public class DiamondShard {

    public static void MainRegistery(){
        intializeItem();
        registerItem();
    }

    public static Item Dshard;

    public static void intializeItem(){
        Dshard = new Item().setUnlocalizedName("Dshard").setCreativeTab(CreativeTabs.tabMaterials).setTextureName(RefStrings.MODID + ":Diamond_Shard").setMaxStackSize(16);

    }

    public static void registerItem(){
        GameRegistry.registerItem(Dshard, Dshard.getUnlocalizedName());
    }
}
</code></pre>