Inspired by this answer (to define a center environment with no vertical spacing):
\newenvironment{nscenter}
{\parskip=0pt\par\nopagebreak\centering}
{\par\noindent\ignorespacesafterend}
I defined my center environment with custom vertical spacings:
\newenvironment{mycenter}
{\par\addvspace{1.5ex}%
\nopagebreak\centering}
{\par\addvspace{1.5ex}%
\ignorespacesafterend}
But now I do not know how to implement the \noindent part in the original answer. What am I supposed to do?
(I am aware that I can solve it using the noindentafter package, but I am trying to understand how things work.)

mycentermacro above, your answer the the proper way? And does it suggest that what I am asking cannot be incorporated intomycentermacro? Further, is it possible to modify your macro such that the following paragraph is not indented when there is an empty line? (Because, perhaps, I never want indented paragraphs after a center environment.) – blackened Sep 21 '15 at 17:41