public class GlowMetaSkull extends GlowMetaItem implements org.bukkit.inventory.meta.SkullMeta
| Constructor and Description |
|---|
GlowMetaSkull(org.bukkit.inventory.meta.ItemMeta meta)
Creates an instance by copying from the given
ItemMeta. |
| Modifier and Type | Method and Description |
|---|---|
org.bukkit.inventory.meta.SkullMeta |
clone() |
static GlowMetaSkull |
deserialize(Map<String,Object> data)
Deserializes an instance as specified in
ConfigurationSerializable. |
String |
getOwner() |
org.bukkit.OfflinePlayer |
getOwningPlayer() |
com.destroystokyo.paper.profile.PlayerProfile |
getPlayerProfile() |
boolean |
hasOwner() |
boolean |
isApplicable(org.bukkit.Material material)
Check whether this ItemMeta can be applied to the given material.
|
Map<String,Object> |
serialize() |
boolean |
setOwner(String name) |
boolean |
setOwningPlayer(org.bukkit.OfflinePlayer owningPlayer) |
void |
setPlayerProfile(com.destroystokyo.paper.profile.PlayerProfile profile) |
addEnchant, addItemFlags, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, hasConflictingEnchant, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, isUnbreakable, readNbtEnchants, removeEnchant, removeItemFlags, serializeEnchants, setDisplayName, setLocalizedName, setLore, setUnbreakable, spigot, toString, writeNbtEnchantsequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEnchant, addItemFlags, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, hasConflictingEnchant, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, isUnbreakable, removeEnchant, removeItemFlags, setDisplayName, setLocalizedName, setLore, setUnbreakable, spigotpublic GlowMetaSkull(org.bukkit.inventory.meta.ItemMeta meta)
ItemMeta. If that item is another
SkullMeta with an owner, attempts to copy the owning player.meta - the ItemMeta to copypublic static GlowMetaSkull deserialize(Map<String,Object> data)
ConfigurationSerializable.data - a serialized instancepublic org.bukkit.inventory.meta.SkullMeta clone()
clone in interface org.bukkit.inventory.meta.ItemMetaclone in interface org.bukkit.inventory.meta.SkullMetaclone in class GlowMetaItempublic boolean isApplicable(org.bukkit.Material material)
GlowMetaItemisApplicable in class GlowMetaItemmaterial - The Material.public Map<String,Object> serialize()
serialize in interface org.bukkit.configuration.serialization.ConfigurationSerializableserialize in class GlowMetaItempublic String getOwner()
getOwner in interface org.bukkit.inventory.meta.SkullMetapublic boolean hasOwner()
hasOwner in interface org.bukkit.inventory.meta.SkullMetapublic boolean setOwner(String name)
setOwner in interface org.bukkit.inventory.meta.SkullMetapublic void setPlayerProfile(com.destroystokyo.paper.profile.PlayerProfile profile)
setPlayerProfile in interface org.bukkit.inventory.meta.SkullMetapublic com.destroystokyo.paper.profile.PlayerProfile getPlayerProfile()
getPlayerProfile in interface org.bukkit.inventory.meta.SkullMetapublic org.bukkit.OfflinePlayer getOwningPlayer()
getOwningPlayer in interface org.bukkit.inventory.meta.SkullMetapublic boolean setOwningPlayer(org.bukkit.OfflinePlayer owningPlayer)
When this returns false, it may still succeed asynchronously.
setOwningPlayer in interface org.bukkit.inventory.meta.SkullMetaCopyright © 2021. All rights reserved.