Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.map |
Classes to facilitate plugin handling of
map displays. |
Modifier and Type | Method and Description |
---|---|
MapCursor.Type |
StructureType.getMapIcon()
Get the
MapCursor.Type that this structure can use on maps. |
Modifier and Type | Method and Description |
---|---|
static @Nullable MapCursor.Type |
MapCursor.Type.byValue(byte value)
Deprecated.
Magic value
|
@NotNull MapCursor.Type |
MapCursor.getType()
Get the type of this cursor.
|
static MapCursor.Type |
MapCursor.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MapCursor.Type[] |
MapCursor.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
MapCursor.setType(@NotNull MapCursor.Type type)
Set the type of this cursor.
|
Constructor and Description |
---|
MapCursor(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.
|
Copyright © 2021. All rights reserved.