ModsJava
MojangAPIWrapper
Java mod listed for Minecraft 1.7–1.16. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotWarning : 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
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)
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)
}
}
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
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
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.