Package org.bukkit.map
Enum MapCursor.Type
- All Implemented Interfaces:
- Serializable,- Comparable<MapCursor.Type>,- Constable
- Enclosing class:
- MapCursor
public static enum MapCursor.Type extends Enum<MapCursor.Type>
Represents the standard types of map cursors. More may be made
 available by resource packs - the value is used by the client as an
 index in the file './misc/mapicons.png' from minecraft.jar or from a
 resource pack.
- 
Nested Class Summary
- 
Enum Constant Summary
- 
Method SummaryModifier and Type Method Description static MapCursor.TypebyValue(byte value)Deprecated.Magic valuebytegetValue()Deprecated.Magic valuestatic MapCursor.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static MapCursor.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
WHITE_POINTER
- 
GREEN_POINTER
- 
RED_POINTER
- 
BLUE_POINTER
- 
WHITE_CROSS
- 
RED_MARKER
- 
WHITE_CIRCLE
- 
SMALL_WHITE_CIRCLE
- 
MANSION
- 
TEMPLE
- 
BANNER_WHITE
- 
BANNER_ORANGE
- 
BANNER_MAGENTA
- 
BANNER_LIGHT_BLUE
- 
BANNER_YELLOW
- 
BANNER_LIME
- 
BANNER_PINK
- 
BANNER_GRAY
- 
BANNER_LIGHT_GRAY
- 
BANNER_CYAN
- 
BANNER_PURPLE
- 
BANNER_BLUE
- 
BANNER_BROWN
- 
BANNER_GREEN
- 
BANNER_RED
- 
BANNER_BLACK
- 
RED_X
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getValueDeprecated.Magic valueGets the internal value of the cursor.- Returns:
- the value
 
- 
byValueDeprecated.Magic valueGet a cursor by its internal value.- Parameters:
- value- the value
- Returns:
- the matching type
 
 
-