public class SkullUtils extends Object
Modifier and Type | Field and Description |
---|---|
static org.spongepowered.api.data.type.SkullType |
DEFAULT_TYPE
There's not really a meaningful default value for this, since it's a CatalogType.
|
Constructor and Description |
---|
SkullUtils() |
Modifier and Type | Method and Description |
---|---|
static org.spongepowered.api.data.type.SkullType |
getSkullType(int skullType) |
static org.spongepowered.api.data.type.SkullType |
getSkullType(net.minecraft.item.ItemStack itemStack) |
static org.spongepowered.api.data.type.SkullType |
getSkullType(net.minecraft.tileentity.TileEntitySkull tileEntitySkull) |
static boolean |
isValidItemStack(Object container) |
static void |
setSkullType(net.minecraft.tileentity.TileEntitySkull tileEntitySkull,
int skullType) |
static boolean |
supportsObject(Object object) |
public static final org.spongepowered.api.data.type.SkullType DEFAULT_TYPE
public static boolean supportsObject(Object object)
public static org.spongepowered.api.data.type.SkullType getSkullType(int skullType)
public static boolean isValidItemStack(Object container)
public static org.spongepowered.api.data.type.SkullType getSkullType(net.minecraft.tileentity.TileEntitySkull tileEntitySkull)
public static void setSkullType(net.minecraft.tileentity.TileEntitySkull tileEntitySkull, int skullType)
public static org.spongepowered.api.data.type.SkullType getSkullType(net.minecraft.item.ItemStack itemStack)