Package org.bukkit.map
Enum Class MapCursor.Type
- All Implemented Interfaces:
- Serializable,- Comparable<MapCursor.Type>,- Constable
- Enclosing class:
- MapCursor
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 SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescription
- 
Method SummaryModifier and TypeMethodDescriptionstatic @Nullable MapCursor.TypebyValue(byte value) Deprecated.Magic valuebytegetValue()Deprecated.Magic valuestatic MapCursor.TypeReturns the enum constant of this class with the specified name.static MapCursor.Type[]values()Returns an array containing the constants of this enum class, 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 class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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
 
 
-