Package org.bukkit.map
Interface MapCursor.Type
- All Superinterfaces:
Comparable<MapCursor.Type>
,Keyed
,Keyed
,OldEnum<MapCursor.Type>
- 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 './assets/minecraft/textures/map/map_icons.png' from minecraft.jar or from a
resource pack.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
static final MapCursor.Type
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable MapCursor.Type
byValue
(byte value) Get a cursor by its internal value.byte
getValue()
Gets the internal value of the cursor.static @NotNull MapCursor.Type
Deprecated.static @NotNull MapCursor.Type[]
values()
Deprecated.useIterable.iterator()
.
-
Field Details
-
PLAYER
-
FRAME
-
RED_MARKER
-
BLUE_MARKER
-
TARGET_X
-
TARGET_POINT
-
PLAYER_OFF_MAP
-
PLAYER_OFF_LIMITS
-
MANSION
-
MONUMENT
-
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
-
VILLAGE_DESERT
-
VILLAGE_PLAINS
-
VILLAGE_SAVANNA
-
VILLAGE_SNOWY
-
VILLAGE_TAIGA
-
JUNGLE_TEMPLE
-
SWAMP_HUT
-
TRIAL_CHAMBERS
-
-
Method Details
-
getValue
Gets the internal value of the cursor.- Returns:
- the value
- API Note:
- Internal Use Only
-
byValue
Get a cursor by its internal value.- Parameters:
value
- the value- Returns:
- the matching type
- API Note:
- Internal Use Only
-
valueOf
@NotNull @Deprecated(since="1.21") static @NotNull MapCursor.Type valueOf(@NotNull @NotNull String name) Deprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.- Parameters:
name
- of the type.- Returns:
- the type with the given name.
-
values
Deprecated.useIterable.iterator()
.- Returns:
- an array of all known map cursor types.
-
Registry.get(NamespacedKey)
instead.