Package org.bukkit.map
Interface MapCursor.Type
- All Superinterfaces:
Comparable<MapCursor.Type>
,Keyed
,OldEnum<MapCursor.Type>
,RegistryAware
- 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 valuegetKey()
Deprecated.A key might not always be present, useRegistryAware.getKeyOrThrow()
instead.byte
getValue()
Deprecated.Magic valuestatic MapCursor.Type
Deprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.static MapCursor.Type[]
values()
Deprecated.useIterable.iterator()
.Methods inherited from interface org.bukkit.registry.RegistryAware
getKeyOrNull, getKeyOrThrow, isRegistered
-
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
-
getKey
Deprecated.A key might not always be present, useRegistryAware.getKeyOrThrow()
instead.Return the namespaced identifier for this object. -
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.
-