java.lang.Cloneable
, ConfigurationSerializable
, ItemMeta
public interface SkullMeta extends ItemMeta
ItemMeta.Spigot
Modifier and Type | Method | Description |
---|---|---|
SkullMeta |
clone() |
|
java.lang.String |
getOwner() |
Deprecated.
|
OfflinePlayer |
getOwningPlayer() |
Gets the owner of the skull.
|
boolean |
hasOwner() |
Checks to see if the skull has an owner.
|
boolean |
setOwner(java.lang.String owner) |
Deprecated.
|
boolean |
setOwningPlayer(OfflinePlayer owner) |
Sets the owner of the skull.
|
serialize
addAttributeModifier, addEnchant, addItemFlags, getAttributeModifiers, getAttributeModifiers, getAttributeModifiers, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, hasAttributeModifiers, hasConflictingEnchant, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, isUnbreakable, removeAttributeModifier, removeAttributeModifier, removeAttributeModifier, removeEnchant, removeItemFlags, setAttributeModifiers, setDisplayName, setLocalizedName, setLore, setUnbreakable, spigot
@Deprecated java.lang.String getOwner()
boolean hasOwner()
@Deprecated boolean setOwner(java.lang.String owner)
Plugins should check that hasOwner() returns true before calling this plugin.
owner
- the new owner of the skullOfflinePlayer getOwningPlayer()
boolean setOwningPlayer(OfflinePlayer owner)
Plugins should check that hasOwner() returns true before calling this plugin.
owner
- the new owner of the skullCopyright © 2018. All rights reserved.