SkullCreator 3.0.0

Easy-to-use API to create skulls!

  1. unon1100
    Tested Minecraft Versions:
    • 1.12
    • 1.16
    Source Code:
    SkullCreator is a library designed to make the creation of player skulls as easy as possible.

    The README file for my plugin is a bit easier on the eyes than looking at this page, so I highly recommend looking at that instead!

    Using the SkullCreator library is quite easy! There are three ways to create a player skull. By name, base64, and URL.

    By Name
    The way that skulls are handled internally use names rather than UUIDs, most likely to make things easier for users to create the heads through commands. As far as I'm aware, there's no easy way to create a player skull from a UUID.

    Anyway, the code to create a player skull from a name is
    Code (Text):
    SkullCreator.fromName(Type.ITEM, "Deanveloper");
    By Base64
    Base64 hashes are how most mapmakers get their heads. They usually go on websites such as freshcoal, mineskin, or minecraft-heads. These sites give them very long commands and they can paste them into command blocks which give them the items.

    What you can do with this plugin is take the base64 from after the Value: part of the command, and then paste that into a method to get the skull. For instance, to get a Stormtrooper skull, you can do this:

    Code (Text):
    public static ItemStack getStormtrooper() {
        // Got this base64 string from
        String base64 = "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L" +

        return SkullCreator.fromBase64(Type.ITEM, base64);
    By Mojang URL
    The base64 strings contain an encoded Mojang URL inside of them. If you would not like to store the whole base64 string (after all, they are very long!) you can instead store the link to the URL.

    Code (Text):
    public static ItemStack getCheeseSkull() {
        String s = "";

        return SkullCreator.fromUrl(Type.ITEM, s);
    Note that with any of these methods, if you substitute the "from" with "with", you can supply an ItemStack and the plugin will add the skull data onto the item you provide. (ie SkullCreator.withName(item, "Deanveloper"); )

    The library can be installed by either inserting the SkullCreator file or through Maven. The instructions can be found here:
    ANDREI923 likes this.

Recent Updates

  1. 1.16 update
  2. Major bug fix

Recent Reviews

  1. RRRishi
    Version: 3.0.0
    Great API for Creating Custom Heads for base64 code Heads & it also works in Minecraft 1.8 completely fine