public interface SkullMeta extends ItemMeta
ItemMeta.Spigot
Modifier and Type | Method and Description |
---|---|
SkullMeta |
clone() |
String |
getOwner()
Deprecated.
|
OfflinePlayer |
getOwningPlayer()
Gets the owner of the skull.
|
boolean |
hasOwner()
Checks to see if the skull has an owner.
|
boolean |
setOwner(String owner)
Deprecated.
|
boolean |
setOwningPlayer(OfflinePlayer owner)
Sets the owner of the skull.
|
addAttributeModifier, 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, setVersion, spigot
serialize
getPersistentDataContainer
@Deprecated @Nullable String getOwner()
setOwningPlayer(org.bukkit.OfflinePlayer)
.boolean hasOwner()
@Deprecated boolean setOwner(@Nullable String owner)
setOwningPlayer(org.bukkit.OfflinePlayer)
.owner
- the new owner of the skull@Nullable OfflinePlayer getOwningPlayer()
boolean setOwningPlayer(@Nullable OfflinePlayer owner)
Plugins should check that hasOwner() returns true before calling this plugin.
owner
- the new owner of the skullCopyright © 2022. All rights reserved.