Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.inventory.meta.SkullMeta Interface Reference
Inheritance diagram for org.bukkit.inventory.meta.SkullMeta:
org.bukkit.inventory.meta.ItemMeta org.bukkit.configuration.serialization.ConfigurationSerializable

Public Member Functions

String getOwner ()
boolean hasOwner ()
boolean setOwner (String owner)
SkullMeta clone ()
- Public Member Functions inherited from org.bukkit.inventory.meta.ItemMeta
boolean hasDisplayName ()
String getDisplayName ()
void setDisplayName (String name)
boolean hasLore ()
List< String > getLore ()
void setLore (List< String > lore)
boolean hasEnchants ()
boolean hasEnchant (Enchantment ench)
int getEnchantLevel (Enchantment ench)
Map< Enchantment, Integer > getEnchants ()
boolean addEnchant (Enchantment ench, int level, boolean ignoreLevelRestriction)
boolean removeEnchant (Enchantment ench)
boolean hasConflictingEnchant (Enchantment ench)
- Public Member Functions inherited from org.bukkit.configuration.serialization.ConfigurationSerializable
Map< String, Object > serialize ()

Detailed Description

Represents a skull (Material#SKULL_ITEM) that can have an owner.

Definition at line 8 of file SkullMeta.java.

Member Function Documentation

String org.bukkit.inventory.meta.SkullMeta.getOwner ( )

Gets the owner of the skull.

the owner if the skull
boolean org.bukkit.inventory.meta.SkullMeta.hasOwner ( )

Checks to see if the skull has an owner.

true if the skull has an owner
boolean org.bukkit.inventory.meta.SkullMeta.setOwner ( String  owner)

Sets the owner of the skull.

Plugins should check that hasOwner() returns true before calling this plugin.

ownerthe new owner of the skull
true if the owner was successfully set

The documentation for this interface was generated from the following file: