title: How can I import com.mojang.authlib.GameProfile
body: <p>I am currently getting into Spigot Pugin developement and need to access GameProfile, because I need it for a plugin (Stuff for changing Skins). I'm using Eclipse.</p>
  
  <p>Now, I've watched a whole ton of tutorials in which GameProfile was used, and all these tutorials just went for </p>
  
  <pre><code>import com.mojang.authlib.GameProfile;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>import net.minecraft.util.SOMETHINGLONG.GameProfile
  </code></pre>
  
  <p>without needing to explain anything why this line is possible. </p>
  
  <p>Here is a guy that had the same problem like me with the second command but apparently could solve it with the first one, so im trying to get this one running. <a href="https://www.spigotmc.org/threads/how-to-import-net-minecraft-util.252371/" rel="nofollow noreferrer">https://www.spigotmc.org/threads/how-to-import-net-minecraft-util.252371/</a>.</p>
  
  <p>If I try to include stuff like this, I see <code>com.google.common</code>, <code>com.oracle</code> and <code>com.sun</code> but com.mojang is nowhere to be seen. I found it has to do something with the .jar files you add to your project, but I don't know how to get com.mojang... into the importable files.</p>