Home›Java›Mods›MojangAPIWrapper
MojangAPIWrapper
ModsJava

MojangAPIWrapper

Java mod listed for Minecraft 1.7–1.16. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
Warning : Please note that MojangAPIWrapper is not a plugin jar archive, It's an API library that can be used for your plugins !!

NOTE: The API uses Gson for JSON, that wouldn't be a problem because it's by default added in spigot.jar

What is MojangAPIWrapper :
It's a Mojang API wrapper which is simplified and prepared to use for spigot java development (Java 8)

How to use :

For both Eclipse and Intellij just add it as a java library and you're ready to go!

Note : if you are using it for bukkit/spigot api development it shouldn't be a problem otherwise Add Gson

Code (Text):
import me.mrdev.mojang.API; //Import

public class Example  {

public void testMethod() {

String status = API.getMojangStatus(); // Example method
//returns a string json response

String history = API.getNameHistroyByUsername("Mrdev1");/*Another example
returns a string json rsponse if the name is valid or not null
(Throws NullPointerException if the name is invalid or null)*/

//Note That All API methods are static and are returning a JSON string response expect getStringUUID() and both signature methods
NullPointerExceptions will be thrown if the uuid or player are null or invalid and Other expections if there's a connection issue(no internet for example)
          }
}

Features :
- Getting the player's UUID by username(Json or Normal String)
- Getting Mojang servers Status
- Getting the player's name history by username or UUID
- Getting many UUIDs by usernames at one time
- Getting the player's skin URL and cape by username or UUID
- Getting raw and pure player's textures by username or UUID

- Getting the player's textures signature by username or UUID(Normal String not json)



Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

MojangAPIWrapper is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 218 times (via Spigot). Download it and open it directly in the game.

Explore more