程序包 org.bukkit.map

# 接口 MapCursor.Type

所有超级接口:
  `Comparable<MapCursor.Type>`, `Keyed`, `OldEnum<MapCursor.Type>`

封闭类:
  MapCursor

public static interface MapCursor.Type extends OldEnum<MapCursor.Type>, Keyed
表示地图光标的标准类型。可能有更多被资源包(原材质包)提供的类型，这个数值被客户端当做minecraft.jar里的'./assets/minecraft/textures/map/map_icons.png'文件的索引或一个材质包中的索引使用.

原文： 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 './assets/minecraft/textures/map/map_icons.png' from minecraft.jar or from a resource pack.

- ## 字段概要

  字段
  修饰符和类型
  字段
  说明
  `static final MapCursor.Type`
  `BANNER_BLACK`
  `static final MapCursor.Type`
  `BANNER_BLUE`
  `static final MapCursor.Type`
  `BANNER_BROWN`
  `static final MapCursor.Type`
  `BANNER_CYAN`
  `static final MapCursor.Type`
  `BANNER_GRAY`
  `static final MapCursor.Type`
  `BANNER_GREEN`
  `static final MapCursor.Type`
  `BANNER_LIGHT_BLUE`
  `static final MapCursor.Type`
  `BANNER_LIGHT_GRAY`
  `static final MapCursor.Type`
  `BANNER_LIME`
  `static final MapCursor.Type`
  `BANNER_MAGENTA`
  `static final MapCursor.Type`
  `BANNER_ORANGE`
  `static final MapCursor.Type`
  `BANNER_PINK`
  `static final MapCursor.Type`
  `BANNER_PURPLE`
  `static final MapCursor.Type`
  `BANNER_RED`
  `static final MapCursor.Type`
  `BANNER_WHITE`
  `static final MapCursor.Type`
  `BANNER_YELLOW`
  `static final MapCursor.Type`
  `BLUE_MARKER`
  `static final MapCursor.Type`
  `FRAME`
  `static final MapCursor.Type`
  `JUNGLE_TEMPLE`
  `static final MapCursor.Type`
  `MANSION`
  `static final MapCursor.Type`
  `MONUMENT`
  `static final MapCursor.Type`
  `PLAYER`
  `static final MapCursor.Type`
  `PLAYER_OFF_LIMITS`
  `static final MapCursor.Type`
  `PLAYER_OFF_MAP`
  `static final MapCursor.Type`
  `RED_MARKER`
  `static final MapCursor.Type`
  `RED_X`
  `static final MapCursor.Type`
  `SWAMP_HUT`
  `static final MapCursor.Type`
  `TARGET_POINT`
  `static final MapCursor.Type`
  `TARGET_X`
  `static final MapCursor.Type`
  `TRIAL_CHAMBERS`
  `static final MapCursor.Type`
  `VILLAGE_DESERT`
  `static final MapCursor.Type`
  `VILLAGE_PLAINS`
  `static final MapCursor.Type`
  `VILLAGE_SAVANNA`
  `static final MapCursor.Type`
  `VILLAGE_SNOWY`
  `static final MapCursor.Type`
  `VILLAGE_TAIGA`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `static @Nullable MapCursor.Type`
  `byValue(byte value)`
  已过时。
  Magic value
  `byte`
  `getValue()`
  已过时。
  Magic value
  `static @NotNull MapCursor.Type`
  `valueOf(@NotNull String name)`
  已过时。
  only for backwards compatibility, use `Registry.get(NamespacedKey)` instead.
  `static @NotNull MapCursor.Type[]`
  `values()`
  已过时。
  use `Iterable.iterator()`.

  ### 从接口继承的方法 org.bukkit.Keyed

  `getKey`

  ### 从接口继承的方法 org.bukkit.util.OldEnum

  `compareTo, name, ordinal`

- ## 字段详细资料

  - ### PLAYER

    static final MapCursor.Type PLAYER

  - ### FRAME

    static final MapCursor.Type FRAME

  - ### RED_MARKER

    static final MapCursor.Type RED_MARKER

  - ### BLUE_MARKER

    static final MapCursor.Type BLUE_MARKER

  - ### TARGET_X

    static final MapCursor.Type TARGET_X

  - ### TARGET_POINT

    static final MapCursor.Type TARGET_POINT

  - ### PLAYER_OFF_MAP

    static final MapCursor.Type PLAYER_OFF_MAP

  - ### PLAYER_OFF_LIMITS

    static final MapCursor.Type PLAYER_OFF_LIMITS

  - ### MANSION

    static final MapCursor.Type MANSION

  - ### MONUMENT

    static final MapCursor.Type MONUMENT

  - ### BANNER_WHITE

    static final MapCursor.Type BANNER_WHITE

  - ### BANNER_ORANGE

    static final MapCursor.Type BANNER_ORANGE

  - ### BANNER_MAGENTA

    static final MapCursor.Type BANNER_MAGENTA

  - ### BANNER_LIGHT_BLUE

    static final MapCursor.Type BANNER_LIGHT_BLUE

  - ### BANNER_YELLOW

    static final MapCursor.Type BANNER_YELLOW

  - ### BANNER_LIME

    static final MapCursor.Type BANNER_LIME

  - ### BANNER_PINK

    static final MapCursor.Type BANNER_PINK

  - ### BANNER_GRAY

    static final MapCursor.Type BANNER_GRAY

  - ### BANNER_LIGHT_GRAY

    static final MapCursor.Type BANNER_LIGHT_GRAY

  - ### BANNER_CYAN

    static final MapCursor.Type BANNER_CYAN

  - ### BANNER_PURPLE

    static final MapCursor.Type BANNER_PURPLE

  - ### BANNER_BLUE

    static final MapCursor.Type BANNER_BLUE

  - ### BANNER_BROWN

    static final MapCursor.Type BANNER_BROWN

  - ### BANNER_GREEN

    static final MapCursor.Type BANNER_GREEN

  - ### BANNER_RED

    static final MapCursor.Type BANNER_RED

  - ### BANNER_BLACK

    static final MapCursor.Type BANNER_BLACK

  - ### RED_X

    static final MapCursor.Type RED_X

  - ### VILLAGE_DESERT

    static final MapCursor.Type VILLAGE_DESERT

  - ### VILLAGE_PLAINS

    static final MapCursor.Type VILLAGE_PLAINS

  - ### VILLAGE_SAVANNA

    static final MapCursor.Type VILLAGE_SAVANNA

  - ### VILLAGE_SNOWY

    static final MapCursor.Type VILLAGE_SNOWY

  - ### VILLAGE_TAIGA

    static final MapCursor.Type VILLAGE_TAIGA

  - ### JUNGLE_TEMPLE

    static final MapCursor.Type JUNGLE_TEMPLE

  - ### SWAMP_HUT

    static final MapCursor.Type SWAMP_HUT

  - ### TRIAL_CHAMBERS

    static final MapCursor.Type TRIAL_CHAMBERS

- ## 方法详细资料

  - ### getValue

    @Deprecated byte getValue()
    已过时。
    Magic value
    Gets the internal value of the cursor.
    返回:
      the value

  - ### byValue

    @Deprecated @Nullable static @Nullable MapCursor.Type byValue(byte value)
    已过时。
    Magic value
    Get a cursor by its internal value.
    参数:
      `value` - the value
    返回:
      the matching type

  - ### valueOf

    @NotNull @Deprecated(since="1.21") static @NotNull MapCursor.Type valueOf(@NotNull @NotNull String name)
    已过时。
    only for backwards compatibility, use `Registry.get(NamespacedKey)` instead.
    参数:
      `name` - of the type.
    返回:
      the type with the given name.

  - ### values

    @NotNull @Deprecated(since="1.21") static @NotNull MapCursor.Type[] values()
    已过时。
    use `Iterable.iterator()`.
    返回:
      an array of all known map cursor types.