Package org.bukkit.map
Interface MapCursor.Type
- All Superinterfaces:
Comparable<MapCursor.Type>
,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
Modifier 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 MapCursor.Type
byValue
(byte value) Deprecated.Magic valuebyte
getValue()
Deprecated.Magic valuestatic MapCursor.Type
Deprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.static 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
Deprecated.Magic valueGets the internal value of the cursor.- Returns:
- the value
-
byValue
Deprecated.Magic valueGet a cursor by its internal value.- Parameters:
value
- the value- Returns:
- the matching type
-
valueOf
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.
-