Minecraft wiki entry for Combat, associated text: If stuck out in the open with no method of cover damage can be avoided by precisely hitting one as they swoop towards the player, preferably earlier in the dice and/or moving backwards to increase the window of time the Phantom can be hit without touching the player.