Class MapMetaMock
java.lang.Object
be.seeseemelk.mockbukkit.inventory.meta.ItemMetaMock
be.seeseemelk.mockbukkit.inventory.meta.MapMetaMock
- All Implemented Interfaces:
Cloneable,ConfigurationSerializable,Damageable,ItemMeta,MapMeta,Repairable,PersistentDataHolder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull MapMetaMockclone()boolean@Nullable ColorgetColor()@Nullable StringintgetMapId()@Nullable MapViewbooleanhasColor()inthashCode()booleanbooleanhasMapId()booleanbooleanvoidvoidsetLocationName(@Nullable String name) voidsetMapId(int id) voidsetMapView(MapView map) voidsetScaling(boolean scaling) 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
-
MapMetaMock
public MapMetaMock() -
MapMetaMock
-
-
Method Details
-
hasMapId
public boolean hasMapId() -
getMapId
public int getMapId() -
setMapId
public void setMapId(int id) -
hasMapView
public boolean hasMapView()- Specified by:
hasMapViewin interfaceMapMeta
-
getMapView
- Specified by:
getMapViewin interfaceMapMeta
-
setMapView
- Specified by:
setMapViewin interfaceMapMeta
-
isScaling
public boolean isScaling() -
setScaling
public void setScaling(boolean scaling) - Specified by:
setScalingin interfaceMapMeta
-
hasLocationName
public boolean hasLocationName()- Specified by:
hasLocationNamein interfaceMapMeta
-
getLocationName
- Specified by:
getLocationNamein interfaceMapMeta
-
setLocationName
- Specified by:
setLocationNamein interfaceMapMeta
-
hasColor
public boolean hasColor() -
getColor
-
setColor
-
hashCode
public int hashCode()- Overrides:
hashCodein classItemMetaMock
-
equals
- Overrides:
equalsin classItemMetaMock
-
clone
- Specified by:
clonein interfaceDamageable- Specified by:
clonein interfaceItemMeta- Specified by:
clonein interfaceMapMeta- Specified by:
clonein interfaceRepairable- Overrides:
clonein classItemMetaMock
-