title: Java/Bukkit - Check if a player bumped into a wall
body: <p>I'm making a Bukkit plugin and I want to run a piece of code when a player touches a wall(with his body, not with the cross hair!) So, I think that this is possible with a PlayerMoveEvent. The question is, how.
  A few notes:</p>
  
  <ul>
  <li>If the player looks at an other direction and he walks into a wall, I want to run the same code</li>
  <li>The player has to touch the wall with his body, not with his cross hair</li>
  </ul>
  
  <p>I really can't figure this out and I couldn't find this on the web. You guys are my last hope ;)
  Thanks in advance,
  Bram</p>