I've looked through the code to see where getRedstoneWireIcon is called, but the BlockRedstoneWire.class didn't seem to call it anywhere.
@SideOnly(Side.CLIENT)
public static IIcon cross;
@SideOnly(Side.CLIENT)
public static IIcon line;
@SideOnly(Side.CLIENT)
public static IIcon cross_overlay;
@SideOnly(Side.CLIENT)
public static IIcon line_overlay;
@SideOnly(Side.CLIENT)
public IIcon getIcon(IBlockAccess world, int x, int y, int z, int meta)
{
return this.blockIcon;
}
@SideOnly(Side.CLIENT)
public IIcon getIcon(int par1, int par2)
{
return this.blockIcon;
}
@SideOnly(Side.CLIENT)
public IIcon func_149735_b(int par1, int par2)
{
return this.blockIcon;
}
@SideOnly(Side.CLIENT)
public void registerBlockIcons(IIconRegister registerer)
{
this.cross = registerer.registerIcon(ModReferences.MODID + ":redstone_dust" + "_" + "cross");
this.line = registerer.registerIcon(ModReferences.MODID + ":redstone_dust" + "_" + "line");
this.cross_overlay = registerer.registerIcon(ModReferences.MODID + ":redstone_dust" + "_" + "cross_overlay");
this.line_overlay = registerer.registerIcon(ModReferences.MODID + ":redstone_dust" + "_" + "line_overlay");
this.blockIcon = this.cross;
}
@SideOnly(Side.CLIENT)
public static IIcon getRedstoneWireIcon(String icon)
{
return icon.equals("cross") ? cross : (icon.equals("line") ? line : (icon.equals("cross_overlay") ? cross_overlay :
(icon.equals("line_overlay") ? line_overlay : null)));
}
Edit: This code didn't work either, by the way.