Class Skulls

java.lang.Object
me.agent.vgui.api.item.Skulls

public final class Skulls extends Object
Shortcuts for building player heads.
  • Method Details

    • texturedHead

      public static com.github.retrooper.packetevents.protocol.item.ItemStack texturedHead(String base64Texture)
      A player head with the given base64 texture value.
    • builder

      public static ItemBuilder builder(String base64Texture)
      An ItemBuilder pre-configured as a textured player head.
    • ownedHead

      public static com.github.retrooper.packetevents.protocol.item.ItemStack ownedHead(String playerName)
      A player head showing the skin of the given (premium) player name.
    • textureFromUrl

      public static String textureFromUrl(String skinUrl)
      Builds the base64 texture value for a bare skin URL, e.g. http://textures.minecraft.net/texture/<hash>.