@Override
 public void onBlockPlacedBy(
     World world_, int x_, int y_, int z_, EntityLivingBase player_, ItemStack istack_) {
   // only run the placed code for blocks that can disguise
   if (world_.getBlockMetadata(x_, y_, z_) > 7) {
     super.onBlockPlacedBy(world_, x_, y_, z_, player_, istack_);
   }
 }
  @Override
  @SideOnly(Side.CLIENT)
  public void registerBlockIcons(IIconRegister ireg_) {
    super.registerBlockIcons(ireg_);
    diagonalIcons[0] = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "diagonalHazardBlock");
    diagonalIcons[1] = new IconFlipped(diagonalIcons[0], true, false);

    arrowIcons[0] = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "arrowHazardBlock0");
    arrowIcons[1] = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "arrowHazardBlock1");
    arrowIcons[2] = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "arrowHazardBlock2");
    arrowIcons[3] = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "arrowHazardBlock3");

    redDiagonalIcons[0] =
        ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "diagonalRedHazardBlock");
    redDiagonalIcons[1] = new IconFlipped(redDiagonalIcons[0], true, false);

    redArrowIcons[0] = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "arrowRedHazardBlock0");
    redArrowIcons[1] = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "arrowRedHazardBlock1");
    redArrowIcons[2] = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "arrowRedHazardBlock2");
    redArrowIcons[3] = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "arrowRedHazardBlock3");

    checkeredIcon = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "checkeredHazardBlock");

    smallCheckeredIcon =
        ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "smallCheckeredHazardBlock");

    discreteBlock = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "blockDiscreteCable");

    hazardStripBlockIcon =
        ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "hazardStripBlockIcon");

    YHS_HTOP = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "yhsHTop");
    YHS_HMID = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "yhsHMid");
    YHS_HBOT = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "yhsHBot");
    YHS_VLEFT = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "yhsVLeft");
    YHS_VMID = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "yhsVMid");
    YHS_VRIGHT = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "yhsVRight");

    YHS_ANGLED_NW = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "strip_angled_45_NW");
    YHS_ANGLED_NE = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "strip_angled_45_NE");
    YHS_ANGLED_ES = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "strip_angled_45_ES");
    YHS_ANGLED_SW = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "strip_angled_45_SW");

    HAZARD_EDGE = ireg_.registerIcon(DiscreteIndustry.MODID + ":" + "hazardEdge");
  }