public interface SkullMeta extends ItemMeta
Material.SKULL_ITEM
) that can have an owner.Modifier and Type | Method and Description |
---|---|
SkullMeta |
clone() |
String |
getOwner()
Gets the owner of the skull.
|
boolean |
hasOwner()
Checks to see if the skull has an owner.
|
boolean |
setOwner(String owner)
Sets the owner of the skull.
|
addEnchant, getDisplayName, getEnchantLevel, getEnchants, getLore, hasConflictingEnchant, hasDisplayName, hasEnchant, hasEnchants, hasLore, removeEnchant, setDisplayName, setLore
serialize
String getOwner()
boolean hasOwner()
boolean setOwner(String owner)
Plugins should check that hasOwner() returns true before calling this plugin.
owner
- the new owner of the skullCopyright © 2015. All rights reserved.