Add sword blocking API

This adds sword-blocking related method to `EntityPlayer`.

  * Setting whether the player is blocking
  * Getting/Setting whether blocking affects movement speed for a player
  * Getting/Setting whether blocking is allowed for a player
Check your IDE formatter.