java.lang.Cloneable, ConfigurationSerializable, ItemMetapublic interface MapMeta extends ItemMeta
ItemMeta.Spigot| Modifier and Type | Method | Description | 
|---|---|---|
| MapMeta | clone() | |
| Color | getColor() | Gets the map color that is set. | 
| java.lang.String | getLocationName() | Gets the location name that is set. | 
| int | getMapId() | Gets the map ID that is set. | 
| boolean | hasColor() | Checks for existence of a map color. | 
| boolean | hasLocationName() | Checks for existence of a location name. | 
| boolean | hasMapId() | Checks for existence of a map ID number. | 
| boolean | isScaling() | Checks to see if this map is scaling. | 
| void | setColor(Color color) | Sets the map color. | 
| void | setLocationName(java.lang.String name) | Sets the location name. | 
| void | setMapId(int id) | Sets the map ID. | 
| void | setScaling(boolean value) | Sets if this map is scaling or not. | 
serializeaddEnchant, addItemFlags, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, hasConflictingEnchant, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, isUnbreakable, removeEnchant, removeItemFlags, setDisplayName, setLocalizedName, setLore, setUnbreakable, spigotboolean hasMapId()
int getMapId()
 Plugins should check that hasMapId() returns true before
 calling this method.
void setMapId(int id)
id - the map id to setboolean isScaling()
void setScaling(boolean value)
value - true to scaleboolean hasLocationName()
java.lang.String getLocationName()
 Plugins should check that hasLocationName() returns true
 before calling this method.
void setLocationName(java.lang.String name)
name - the name to setboolean hasColor()
Color getColor()
 Plugins should check that hasColor() returns true before
 calling this method.
void setColor(Color color)
color - the color to setCopyright © 2018. All rights reserved.