| Package | Description |
|---|---|
| org.bukkit |
More generalized classes in the API.
|
| org.bukkit.map |
Classes to facilitate plugin handling of
map displays. |
| Modifier and Type | Method | Description |
|---|---|---|
MapCursor.Type |
StructureType.getMapIcon() |
Get the
MapCursor.Type that this structure can use on maps. |
| Modifier and Type | Method | Description |
|---|---|---|
static MapCursor.Type |
MapCursor.Type.byValue(byte value) |
Deprecated.
Magic value
|
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 | Description |
|---|---|---|
void |
MapCursor.setType(MapCursor.Type type) |
Set the type of this cursor.
|
| Constructor | Description |
|---|---|
MapCursor(byte x,
byte y,
byte direction,
MapCursor.Type type,
boolean visible) |
Initialize the map cursor.
|
MapCursor(byte x,
byte y,
byte direction,
MapCursor.Type type,
boolean visible,
String caption) |
Initialize the map cursor.
|
Copyright © 2019. All rights reserved.