title: Minecraft Forge event.entity vs event.player
body: <p>I am new to Minecraft modding and I noticed that sometimes, when changing the players motion, they use</p>
  
  <pre><code>EntityPlayer player = event.player;
  </code></pre>
  
  <p>and other times they use as below:</p>
  
  <pre><code>EntityPlayer player = (EntityPlayer) event.entity;
  </code></pre>
  
  <p>What is the difference between these two methods?</p>