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 SummaryFieldsModifier and TypeFieldDescriptionstatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Typestatic final MapCursor.Type
- 
Method SummaryModifier and TypeMethodDescriptionstatic MapCursor.TypebyValue(byte value) Deprecated.Magic valuegetKey()Deprecated.A key might not always be present, useRegistryAware.getKeyOrThrow()instead.bytegetValue()Deprecated.Magic valuestatic MapCursor.TypeDeprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)instead.static MapCursor.Type[]values()Deprecated.useIterable.iterator().Methods inherited from interface org.bukkit.registry.RegistryAwaregetKeyOrNull, 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- 
getKeyDeprecated.A key might not always be present, useRegistryAware.getKeyOrThrow()instead.Return the namespaced identifier for this object.
- 
getValueDeprecated.Magic valueGets the internal value of the cursor.- Returns:
- the value
 
- 
byValueDeprecated.Magic valueGet a cursor by its internal value.- Parameters:
- value- the value
- Returns:
- the matching type
 
- 
valueOfDeprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)instead.- Parameters:
- name- of the type.
- Returns:
- the type with the given name.
 
- 
valuesDeprecated.useIterable.iterator().- Returns:
- an array of all known map cursor types.
 
 
-