Class SkullMetaMock
java.lang.Object
be.seeseemelk.mockbukkit.inventory.meta.ItemMetaMock
be.seeseemelk.mockbukkit.inventory.meta.SkullMetaMock
- All Implemented Interfaces:
Cloneable,ConfigurationSerializable,Damageable,ItemMeta,Repairable,SkullMeta,PersistentDataHolder
An
ItemMetaMock for the SkullMeta interface. The owning Player is stored via his name.
Created by SimplyBallistic on 27/10/2018
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull SkullMetaMockclone()booleangetOwner()Deprecated.Deprecated.@Nullable PlayerProfileinthashCode()booleanhasOwner()booleanDeprecated.voidsetOwnerProfile(@Nullable PlayerProfile profile) Deprecated.booleansetOwningPlayer(@NotNull OfflinePlayer owner) voidsetPlayerProfile(@Nullable PlayerProfile profile) Methods inherited from class be.seeseemelk.mockbukkit.inventory.meta.ItemMetaMock
addAttributeModifier, addEnchant, addItemFlags, assertComponentLore, assertHasNoLore, assertLore, assertLore, deserialize, displayName, displayName, getAsString, getAttributeModifiers, getAttributeModifiers, getAttributeModifiers, getCanDestroy, getCanPlaceOn, getCustomModelData, getCustomTagContainer, getDamage, getDestroyableKeys, getDisplayName, getDisplayNameComponent, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, getLoreComponents, getPersistentDataContainer, getPlaceableKeys, getRepairCost, hasAttributeModifiers, hasConflictingEnchant, hasCustomModelData, hasDamage, hasDestroyableKeys, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, hasPlaceableKeys, hasRepairCost, isUnbreakable, lore, lore, removeAttributeModifier, removeAttributeModifier, removeAttributeModifier, removeEnchant, removeItemFlags, serialize, setAttributeModifiers, setCanDestroy, setCanPlaceOn, setCustomModelData, setDamage, setDestroyableKeys, setDisplayName, setDisplayNameComponent, setLocalizedName, setLore, setLoreComponents, setPlaceableKeys, setRepairCost, setUnbreakable, setVersionMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.configuration.serialization.ConfigurationSerializable
serializeMethods inherited from interface org.bukkit.inventory.meta.ItemMeta
addAttributeModifier, addEnchant, addItemFlags, displayName, displayName, getAsString, getAttributeModifiers, getAttributeModifiers, getAttributeModifiers, getCanDestroy, getCanPlaceOn, getCustomModelData, getCustomTagContainer, getDestroyableKeys, getDisplayName, getDisplayNameComponent, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, getLoreComponents, getPlaceableKeys, hasAttributeModifiers, hasConflictingEnchant, hasCustomModelData, hasDestroyableKeys, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, hasPlaceableKeys, isUnbreakable, lore, lore, removeAttributeModifier, removeAttributeModifier, removeAttributeModifier, removeEnchant, removeItemFlags, setAttributeModifiers, setCanDestroy, setCanPlaceOn, setCustomModelData, setDestroyableKeys, setDisplayName, setDisplayNameComponent, setLocalizedName, setLore, setLoreComponents, setPlaceableKeys, setUnbreakable, setVersionMethods inherited from interface org.bukkit.persistence.PersistentDataHolder
getPersistentDataContainer
-
Constructor Details
-
SkullMetaMock
public SkullMetaMock() -
SkullMetaMock
-
-
Method Details
-
clone
- Specified by:
clonein interfaceDamageable- Specified by:
clonein interfaceItemMeta- Specified by:
clonein interfaceRepairable- Specified by:
clonein interfaceSkullMeta- Overrides:
clonein classItemMetaMock
-
hashCode
public int hashCode()- Overrides:
hashCodein classItemMetaMock
-
equals
- Overrides:
equalsin classItemMetaMock
-
getOwner
Deprecated. -
hasOwner
public boolean hasOwner() -
setOwner
Deprecated. -
setPlayerProfile
- Specified by:
setPlayerProfilein interfaceSkullMeta
-
getPlayerProfile
- Specified by:
getPlayerProfilein interfaceSkullMeta
-
getOwningPlayer
- Specified by:
getOwningPlayerin interfaceSkullMeta
-
setOwningPlayer
- Specified by:
setOwningPlayerin interfaceSkullMeta
-
getOwnerProfile
Deprecated.- Specified by:
getOwnerProfilein interfaceSkullMeta
-
setOwnerProfile
Deprecated.- Specified by:
setOwnerProfilein interfaceSkullMeta
-