public class CustomSkull
extends java.lang.Object
| Constructor and Description |
|---|
CustomSkull() |
| Modifier and Type | Method and Description |
|---|---|
static org.bukkit.inventory.ItemStack |
getItem(org.bukkit.inventory.ItemStack item,
java.lang.String texture)
Sets the specified Skull to have the specified Texture
|
static org.bukkit.inventory.ItemStack |
getItem(java.lang.String texture)
Returns a Skull Item with the specified Texture
|
static java.lang.Object |
getName(org.bukkit.inventory.ItemStack item)
Returns the Skull Owner of that Skull
|
static java.lang.String |
getTexture(org.bukkit.inventory.ItemStack item)
Returns the Base64 String representing the Texture of the specified item
|
static void |
setSkull(org.bukkit.block.Block block,
java.lang.String texture)
Sets the Skull at that Location to be the Skin of the specified Base64 String
|
public static void setSkull(org.bukkit.block.Block block,
java.lang.String texture)
throws java.lang.Exception
block - The Block being set to that Skintexture - A Base64 String representing the Texturejava.lang.Exceptionpublic static org.bukkit.inventory.ItemStack getItem(java.lang.String texture)
throws java.lang.Exception
texture - A Base64 String representing the Texturejava.lang.Exceptionpublic static org.bukkit.inventory.ItemStack getItem(org.bukkit.inventory.ItemStack item,
java.lang.String texture)
throws java.lang.Exception
item - The ItemStack you want to modifytexture - A Base64 String representing the Texturejava.lang.Exceptionpublic static java.lang.String getTexture(org.bukkit.inventory.ItemStack item)
item - The ItemStack you want to retrieve the Data fromjava.lang.reflect.InvocationTargetExceptionjava.lang.IllegalAccessExceptionjava.lang.IllegalArgumentExceptionpublic static java.lang.Object getName(org.bukkit.inventory.ItemStack item)
item - The ItemStack you want to retrieve the Data fromjava.lang.reflect.InvocationTargetExceptionjava.lang.IllegalAccessExceptionjava.lang.IllegalArgumentException