@Override
  @SideOnly(Side.CLIENT)
  public void updateProgressBar(int id, int value) {

    if (id == 0) {
      tileRegulator.color = TubeColor.values()[value];
      ((GuiBase) ClientProxy.getOpenedGui()).redraw();
    }
    if (id == 2) {
      tileRegulator.mode = value;
      ((GuiBase) ClientProxy.getOpenedGui()).redraw();
    }
  }
  @Override
  public boolean canInteractWith(EntityPlayer player) {

    return tileRegulator.isUseableByPlayer(player);
  }