|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SkullMeta
Represents a skull (Material.SKULL_ITEM
) that can have an owner.
Method Summary | |
---|---|
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. |
Methods inherited from interface org.bukkit.inventory.meta.ItemMeta |
---|
addEnchant, getDisplayName, getEnchantLevel, getEnchants, getLore, hasDisplayName, hasEnchant, hasEnchants, hasLore, removeEnchant, setDisplayName, setLore |
Methods inherited from interface org.bukkit.configuration.serialization.ConfigurationSerializable |
---|
serialize |
Method Detail |
---|
String getOwner()
boolean hasOwner()
boolean setOwner(String owner)
owner
- the new owner of the skull
SkullMeta clone()
clone
in interface ItemMeta
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |