Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.event.server |
Events relating to programmatic state
changes on the server. |
org.bukkit.inventory.meta |
The interfaces used when manipulating extra data can can be stored inside
item stacks . |
org.bukkit.map |
Classes to facilitate plugin handling of
map displays. |
Modifier and Type | Method | Description |
---|---|---|
static MapView |
Bukkit.createMap(World world) |
Create a new map with an automatically assigned ID.
|
MapView |
Server.createMap(World world) |
Create a new map with an automatically assigned ID.
|
static MapView |
Bukkit.getMap(int id) |
Deprecated.
Magic value
|
MapView |
Server.getMap(int id) |
Deprecated.
Magic value
|
Modifier and Type | Method | Description |
---|---|---|
void |
Player.sendMap(MapView map) |
Render a map and send it to the player in its entirety.
|
Modifier and Type | Method | Description |
---|---|---|
MapView |
MapInitializeEvent.getMap() |
Gets the map initialized in this event.
|
Constructor | Description |
---|---|
MapInitializeEvent(MapView mapView) |
Modifier and Type | Method | Description |
---|---|---|
MapView |
MapMeta.getMapView() |
Gets the map view that is associated with this map item.
|
Modifier and Type | Method | Description |
---|---|---|
void |
MapMeta.setMapView(MapView map) |
Sets the associated map.
|
Modifier and Type | Method | Description |
---|---|---|
MapView |
MapCanvas.getMapView() |
Get the map this canvas is attached to.
|
Modifier and Type | Method | Description |
---|---|---|
void |
MapRenderer.initialize(MapView map) |
Initialize this MapRenderer for the given map.
|
abstract void |
MapRenderer.render(MapView map,
MapCanvas canvas,
Player player) |
Render to the given map.
|
Copyright © 2019. All rights reserved.