ModsJava
[API] CustomSkullAPI [1.7 + 1.8]
Java mod listed for Minecraft 1.7–1.9. Download on the author's site.
⬇ Download on SpigotThis API allows you to easily create player skulls (heads) with custom textures.
This doesn't work reliably anymore. Mojang limited the amount of skin-uploads per user. As I don't have any more Minecraft accounts I could use to upload, it's not guaranteed to work properly.
A new, working client is available for the API. You can get it here and use this class to apply the textures.
Features
Example
@EventHandler
public void onJoin ( final PlayerJoinEvent e ) {
Bukkit. getScheduler ( ). runTaskLater ( this, new Runnable ( ) { //Delay to make sure the player is online
@Override
public void run ( ) {
try {
CustomSkullAPI. createSkull ( "http://inventivegames.de/texture/head/name/BLUE.png", new SkullCallback ( ) { //Just an example image
@Override
public void call ( final SkullData data ) {
Bukkit. getScheduler ( ). runTask (CustomSkullPlugin. this, new Runnable ( ) { //Run this synchronous
@Override
public void run ( ) {
ItemStack skull = new ItemStack (Material. SKULL_ITEM, 1, ( short ) 3 ) ;
data. applyToItem (skull ) ;
e. getPlayer ( ). getInventory ( ). addItem (skull ) ;
e. getPlayer ( ). getLocation ( ). getBlock ( ). setType (Material. SKULL ) ;
Skull s = ( (Skull ) e. getPlayer ( ). getLocation ( ). getBlock ( ). getState ( ) ) ;
s. setSkullType (SkullType. PLAYER ) ;
s. update ( ) ;
data. applyToBlock (s ) ;
}
} ) ;
}
} ) ;
} catch ( MalformedURLException e1 ) {
e1. printStackTrace ( ) ;
}
}
}, 20 ) ;
}
Links
This API uses my online skull API which requires real Minecraft accounts to upload the images.
Donations of Minecraft accounts or via Paypal are highly appreciated!
This doesn't work reliably anymore. Mojang limited the amount of skin-uploads per user. As I don't have any more Minecraft accounts I could use to upload, it's not guaranteed to work properly.
A new, working client is available for the API. You can get it here and use this class to apply the textures.
Features
- Create skulls with any texture you want (uploaded to Imgur etc.)
- Apply the texture to items and blocks
Example
Code (Java):
@EventHandler
public void onJoin ( final PlayerJoinEvent e ) {
Bukkit. getScheduler ( ). runTaskLater ( this, new Runnable ( ) { //Delay to make sure the player is online
@Override
public void run ( ) {
try {
CustomSkullAPI. createSkull ( "http://inventivegames.de/texture/head/name/BLUE.png", new SkullCallback ( ) { //Just an example image
@Override
public void call ( final SkullData data ) {
Bukkit. getScheduler ( ). runTask (CustomSkullPlugin. this, new Runnable ( ) { //Run this synchronous
@Override
public void run ( ) {
ItemStack skull = new ItemStack (Material. SKULL_ITEM, 1, ( short ) 3 ) ;
data. applyToItem (skull ) ;
e. getPlayer ( ). getInventory ( ). addItem (skull ) ;
e. getPlayer ( ). getLocation ( ). getBlock ( ). setType (Material. SKULL ) ;
Skull s = ( (Skull ) e. getPlayer ( ). getLocation ( ). getBlock ( ). getState ( ) ) ;
s. setSkullType (SkullType. PLAYER ) ;
s. update ( ) ;
data. applyToBlock (s ) ;
}
} ) ;
}
} ) ;
} catch ( MalformedURLException e1 ) {
e1. printStackTrace ( ) ;
}
}
}, 20 ) ;
}
Links
This API uses my online skull API which requires real Minecraft accounts to upload the images.
Donations of Minecraft accounts or via Paypal are highly appreciated!
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.
[API] CustomSkullAPI [1.7 + 1.8] is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9. Downloaded 1,254 times (via Spigot). Download it and open it directly in the game.