public final class SkullUtils
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SkullUtils.MHFAccount |
static class |
SkullUtils.Player |
| Constructor and Description |
|---|
SkullUtils() |
| Modifier and Type | Method and Description |
|---|---|
static net.minecraft.item.ItemStack |
createSkull(net.minecraft.entity.player.EntityPlayer player)
Create a skull from an instance of EntityPlayer.
|
static net.minecraft.item.ItemStack |
createSkull(SkullUtils.MHFAccount account)
Creates a skull from the list of publicly provided MHF accounts.
|
static net.minecraft.item.ItemStack |
createSkull(SkullUtils.Player player)
Creates a skull from the list of provided players.
|
static net.minecraft.item.ItemStack |
createSkull(java.lang.String owner)
Creates a skull that represents a player.
|
static net.minecraft.item.ItemStack |
createSkull(java.util.UUID uuid)
Creates a skull using a players UUID.
|
static net.minecraft.item.ItemStack |
getCreeperSkull()
Creates a vanilla Creeper Skull.
|
static net.minecraft.item.ItemStack[] |
getMHFSkulls()
Creates an array of ItemStacks containing MHF Skulls.
|
static net.minecraft.item.ItemStack[] |
getPlayerSkulls()
Creates an array of ItemStacks containing the skulls of players from the Player enum.
|
static net.minecraft.item.ItemStack |
getSkeletonSkull()
Creates a vanilla Skeleton Skull.
|
static net.minecraft.item.ItemStack |
getSteveSkull()
Creates a vanilla Steve Skull.
|
static net.minecraft.item.ItemStack |
getWitherSkeletonSkull()
Creates a vanilla Wither Skeleton Skull.
|
static net.minecraft.item.ItemStack |
getZombieSkull()
Creates a vanilla Zombie Skull.
|
public static net.minecraft.item.ItemStack createSkull(net.minecraft.entity.player.EntityPlayer player)
player: - The EntityPlayer to use the skin from.public static net.minecraft.item.ItemStack createSkull(java.util.UUID uuid)
uuid: - The UUID of the player to base the skull on.public static net.minecraft.item.ItemStack createSkull(SkullUtils.MHFAccount account)
account: - The MHFAccount to create the skull from.public static net.minecraft.item.ItemStack createSkull(SkullUtils.Player player)
player: - The Player account to create the skull frompublic static net.minecraft.item.ItemStack createSkull(java.lang.String owner)
owner: - The owner of the skull being created. Can be a username of a UUID.public static net.minecraft.item.ItemStack getWitherSkeletonSkull()
public static net.minecraft.item.ItemStack getZombieSkull()
public static net.minecraft.item.ItemStack getCreeperSkull()
public static net.minecraft.item.ItemStack getSteveSkull()
public static net.minecraft.item.ItemStack getSkeletonSkull()
public static net.minecraft.item.ItemStack[] getMHFSkulls()
public static net.minecraft.item.ItemStack[] getPlayerSkulls()