Cloneable, ConfigurationSerializable, ItemMeta, PersistentDataHolderpublic interface SkullMeta extends ItemMeta
| Modifier and Type | Method | Description | 
|---|---|---|
| @NotNull SkullMeta | clone() | |
| @Nullable String | getOwner() | Deprecated. 
 | 
| @Nullable OfflinePlayer | getOwningPlayer() | Gets the owner of the skull. | 
| boolean | hasOwner() | Checks to see if the skull has an owner. | 
| boolean | setOwner(@Nullable String owner) | Deprecated. 
 | 
| boolean | setOwningPlayer(@Nullable OfflinePlayer owner) | Sets the owner of the skull. | 
serializeaddAttributeModifier, addEnchant, addItemFlags, getAttributeModifiers, getAttributeModifiers, getAttributeModifiers, getCustomModelData, getCustomTagContainer, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, hasAttributeModifiers, hasConflictingEnchant, hasCustomModelData, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, isUnbreakable, removeAttributeModifier, removeAttributeModifier, removeAttributeModifier, removeEnchant, removeItemFlags, setAttributeModifiers, setCustomModelData, setDisplayName, setLocalizedName, setLore, setUnbreakable, setVersiongetPersistentDataContainer@Deprecated @Nullable @Nullable String getOwner()
setOwningPlayer(org.bukkit.OfflinePlayer).boolean hasOwner()
@Deprecated boolean setOwner(@Nullable @Nullable String owner)
setOwningPlayer(org.bukkit.OfflinePlayer).owner - the new owner of the skull@Nullable @Nullable OfflinePlayer getOwningPlayer()
boolean setOwningPlayer(@Nullable
                        @Nullable OfflinePlayer owner)
Plugins should check that hasOwner() returns true before calling this plugin.
owner - the new owner of the skullCopyright © 2020. All rights reserved.