The piston can be rotated by the hammer around the Y axis, but not the perpendicular axis. Unfortunately, multiblocks using pistons often need them to be facing downwards.
BluSunrize commented
It can't. Forge removed that functionality. Nothing we can do about it.