title: How can I create a custom Player class? (Bukkit)
body: <p>This is mainly for the Spigot API, but I want to be able to take the "Player" Object and cast it to a custom object in order to add new methods and I want to be able to do something like:</p>
  
  <pre><code>User user = (User) Bukkit.getPlayer("player_name");
  </code></pre>
  
  <p>I know this may not be answered but it would be extremely helpful to learn how to do this</p>
  
  <p>EDIT: I need to know how I would accomplish the User class/interface</p>