You can install MojangAPI via Maven, simply add this into your pom.xml:
<dependencies>
<dependency>
<groupId>com.dpkgsoft</groupId>
<artifactId>mojang</artifactId>
<version>(version)</version>
</dependency>
</dependencies>
You can read how to use our library in the wiki
I know that some code is very bad. You can contribute to project and I'll put your GitHub profile url here 😄