Uses of Enum Class
org.bukkit.map.MapCursor.Type
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes to facilitate plugin handling of
map
displays.-
Uses of MapCursor.Type in org.bukkit
Modifier and TypeMethodDescriptionStructureType.getMapIcon()
Deprecated.Get theMapCursor.Type
that this structure can use on maps.Modifier and TypeMethodDescriptionBukkit.createExplorerMap
(@NotNull World world, @NotNull Location location, StructureType structureType, MapCursor.Type mapIcon) Create a new explorer map targeting the closest nearby structure of a givenStructureType
.Bukkit.createExplorerMap
(@NotNull World world, @NotNull Location location, StructureType structureType, MapCursor.Type mapIcon, int radius, boolean findUnexplored) Create a new explorer map targeting the closest nearby structure of a givenStructureType
.Server.createExplorerMap
(@NotNull World world, @NotNull Location location, StructureType structureType, MapCursor.Type mapIcon) Create a new explorer map targeting the closest nearby structure of a givenStructureType
.Server.createExplorerMap
(@NotNull World world, @NotNull Location location, StructureType structureType, MapCursor.Type mapIcon, int radius, boolean findUnexplored) Create a new explorer map targeting the closest nearby structure of a givenStructureType
. -
Uses of MapCursor.Type in org.bukkit.map
Modifier and TypeMethodDescriptionstatic @Nullable MapCursor.Type
MapCursor.Type.byValue
(byte value) Get a cursor by its internal value.MapCursor.getType()
Get the type of this cursor.static MapCursor.Type
Returns the enum constant of this class with the specified name.static MapCursor.Type[]
MapCursor.Type.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
MapCursor.setType
(@NotNull MapCursor.Type type) Set the type of this cursor.ModifierConstructorDescriptionMapCursor
(byte x, byte y, byte direction, @NotNull MapCursor.Type type, boolean visible) Initialize the map cursor.MapCursor
(byte x, byte y, byte direction, @NotNull MapCursor.Type type, boolean visible, @Nullable String caption) Initialize the map cursor.MapCursor
(byte x, byte y, byte direction, @NotNull MapCursor.Type type, boolean visible, @Nullable Component caption) Initialize the map cursor.