The block shot is applicable for the defender as long as the ball is not above the height of the rim. And it is also applicable till the ball falls toward the rim. While the goaltending happens when the defender tries to block shots and when they don't get the ball quickly.