java.lang.Cloneable
, ConfigurationSerializable
, ItemMeta
public interface SkullMeta extends ItemMeta
Material.SKULL_ITEM
) that can have an owner.Modifier and Type | Method | Description |
---|---|---|
SkullMeta |
clone() |
|
java.lang.String |
getOwner() |
Gets the owner of the skull.
|
boolean |
hasOwner() |
Checks to see if the skull has an owner.
|
boolean |
setOwner(java.lang.String owner) |
Sets the owner of the skull.
|
serialize
addEnchant, addItemFlags, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, hasConflictingEnchant, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, isUnbreakable, removeEnchant, removeItemFlags, setDisplayName, setLocalizedName, setLore, setUnbreakable
java.lang.String getOwner()
boolean hasOwner()
boolean setOwner(java.lang.String owner)
Plugins should check that hasOwner() returns true before calling this plugin.
owner
- the new owner of the skull