枚举的使用
org.bukkit.map.MapCursor.Type
-
org.bukkit中MapCursor.Type的使用
修饰符和类型方法说明StructureType.getMapIcon()
已过时。Get theMapCursor.Type
that this structure can use on maps. -
org.bukkit.map中MapCursor.Type的使用
修饰符和类型方法说明static @Nullable MapCursor.Type
MapCursor.Type.byValue
(byte value) 已过时。不安全的参数MapCursor.getType()
获取这个光标的类型.static MapCursor.Type
返回带有指定名称的该类型的枚举常量。static MapCursor.Type[]
MapCursor.Type.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。限定符构造器说明MapCursor
(byte x, byte y, byte direction, @NotNull MapCursor.Type type, boolean visible) 初始化地图光标.MapCursor
(byte x, byte y, byte direction, @NotNull MapCursor.Type type, boolean visible, @Nullable String caption) 初始化地图光标.