public static enum MapCursor.Type extends java.lang.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.
枚举常量和说明 |
---|
BLUE_POINTER |
GREEN_POINTER |
MANSION |
RED_MARKER |
RED_POINTER |
SMALL_WHITE_CIRCLE |
TEMPLE |
WHITE_CIRCLE |
WHITE_CROSS |
WHITE_POINTER |
限定符和类型 | 方法和说明 |
---|---|
static MapCursor.Type |
byValue(byte value)
已过时。
不安全的参数
|
byte |
getValue()
已过时。
不安全的参数
|
static MapCursor.Type |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static MapCursor.Type[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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
public static final MapCursor.Type RED_MARKER
public static final MapCursor.Type WHITE_CIRCLE
public static final MapCursor.Type SMALL_WHITE_CIRCLE
public static final MapCursor.Type MANSION
public static final MapCursor.Type TEMPLE
public static MapCursor.Type[] values()
for (MapCursor.Type c : MapCursor.Type.values()) System.out.println(c);
public static MapCursor.Type valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值@Deprecated public byte getValue()
@Deprecated public static MapCursor.Type byValue(byte value)
value
- 数值