ModsJava
PlayerHeadAPI
Java mod listed for Minecraft 1.8. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotPlayerHeadAPI
API to print a Players head in Chat.
Usage:
API to print a Players head in Chat.
Spoiler: Use in your project
Code (Text):
1. Add the Library to your project
2. Put the API on the server in the plugins folder
3. Use it just like the Code below
2. Put the API on the server in the plugins folder
3. Use it just like the Code below
Usage:
Spoiler: Usage
Code (Text):
try{
BufferedImage imageToSend = ImageIO.read(new URL("https://crafatar.com/avatars/" + e.getPlayer().getUniqueId().toString()));
new ImageMessage(
imageToSend,
8,
ImageChar.BLOCK.getChar()
).appendCenteredText(
"1",
"22",
"333",
"4444",
"55555",
"666666"
).sendToPlayer(e.getPlayer());
} catch (Exception exception) {
System.out.println("[Player-Head] Kopf konnte nicht geladen werden.");
}
BufferedImage imageToSend = ImageIO.read(new URL("https://crafatar.com/avatars/" + e.getPlayer().getUniqueId().toString()));
new ImageMessage(
imageToSend,
8,
ImageChar.BLOCK.getChar()
).appendCenteredText(
"1",
"22",
"333",
"4444",
"55555",
"666666"
).sendToPlayer(e.getPlayer());
} catch (Exception exception) {
System.out.println("[Player-Head] Kopf konnte nicht geladen werden.");
}
Spoiler: Output
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.8
- 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.
PlayerHeadAPI is a free Minecraft Java mod. Compatible with Minecraft 1.8. Downloaded 76 times (via Spigot). Download it and open it directly in the game.