|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<MapCursor.Type>
org.bukkit.map.MapCursor.Type
public static enum MapCursor.Type
Represents the standard types of map cursors. More may be made available by texture packs - the value is used by the client as an index in the file './misc/mapicons.png' from minecraft.jar or from a texture pack.
| Enum Constant Summary | |
|---|---|
BLUE_POINTER
|
|
GREEN_POINTER
|
|
RED_POINTER
|
|
WHITE_CROSS
|
|
WHITE_POINTER
|
|
| Method Summary | |
|---|---|
static MapCursor.Type |
byValue(byte value)
Deprecated. Magic value |
byte |
getValue()
Deprecated. Magic value |
static MapCursor.Type |
valueOf(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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MapCursor.Type WHITE_POINTER
public static final MapCursor.Type GREEN_POINTER
public static final MapCursor.Type RED_POINTER
public static final MapCursor.Type BLUE_POINTER
public static final MapCursor.Type WHITE_CROSS
| Method Detail |
|---|
public static MapCursor.Type[] values()
for (MapCursor.Type c : MapCursor.Type.values()) System.out.println(c);
public static MapCursor.Type valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null@Deprecated public byte getValue()
@Deprecated public static MapCursor.Type byValue(byte value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||