Class ArmorStandMetaMock
java.lang.Object
be.seeseemelk.mockbukkit.inventory.meta.ItemMetaMock
be.seeseemelk.mockbukkit.inventory.meta.ArmorStandMetaMock
- All Implemented Interfaces:
ArmorStandMeta
,Cloneable
,ConfigurationSerializable
,Damageable
,ItemMeta
,Repairable
,PersistentDataHolder
Mock implementation of an
ArmorStandMeta
.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newArmorStandMetaMock
.ArmorStandMetaMock
(@NotNull ArmorStandMeta meta) Constructs a newArmorStandMetaMock
, cloning the data from another. -
Method Summary
Modifier and TypeMethodDescription@NotNull ArmorStandMetaMock
clone()
boolean
int
hashCode()
boolean
boolean
boolean
isMarker()
boolean
isSmall()
void
setInvisible
(boolean invisible) void
setMarker
(boolean marker) void
setNoBasePlate
(boolean noBasePlate) void
setShowArms
(boolean showArms) void
setSmall
(boolean small) boolean
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, setVersion
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bukkit.configuration.serialization.ConfigurationSerializable
serialize
Methods 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, setVersion
Methods inherited from interface org.bukkit.persistence.PersistentDataHolder
getPersistentDataContainer
-
Constructor Details
-
ArmorStandMetaMock
public ArmorStandMetaMock()Constructs a newArmorStandMetaMock
. -
ArmorStandMetaMock
Constructs a newArmorStandMetaMock
, cloning the data from another.- Parameters:
meta
- The meta to clone.
-
-
Method Details
-
isInvisible
public boolean isInvisible()- Specified by:
isInvisible
in interfaceArmorStandMeta
-
hasNoBasePlate
public boolean hasNoBasePlate()- Specified by:
hasNoBasePlate
in interfaceArmorStandMeta
-
shouldShowArms
public boolean shouldShowArms()- Specified by:
shouldShowArms
in interfaceArmorStandMeta
-
isSmall
public boolean isSmall()- Specified by:
isSmall
in interfaceArmorStandMeta
-
isMarker
public boolean isMarker()- Specified by:
isMarker
in interfaceArmorStandMeta
-
setInvisible
public void setInvisible(boolean invisible) - Specified by:
setInvisible
in interfaceArmorStandMeta
-
setNoBasePlate
public void setNoBasePlate(boolean noBasePlate) - Specified by:
setNoBasePlate
in interfaceArmorStandMeta
-
setShowArms
public void setShowArms(boolean showArms) - Specified by:
setShowArms
in interfaceArmorStandMeta
-
setSmall
public void setSmall(boolean small) - Specified by:
setSmall
in interfaceArmorStandMeta
-
setMarker
public void setMarker(boolean marker) - Specified by:
setMarker
in interfaceArmorStandMeta
-
hashCode
public int hashCode()- Overrides:
hashCode
in classItemMetaMock
-
equals
- Overrides:
equals
in classItemMetaMock
-
clone
- Specified by:
clone
in interfaceDamageable
- Specified by:
clone
in interfaceItemMeta
- Specified by:
clone
in interfaceRepairable
- Overrides:
clone
in classItemMetaMock
-