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.map |
Classes to facilitate plugin handling of
map displays. |
Modifier and Type | Method and 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(short id)
Deprecated.
Magic value
|
MapView |
Server.getMap(short id)
Deprecated.
Magic value
|
Modifier and Type | Method and Description |
---|---|
void |
Player.sendMap(MapView map)
Render a map and send it to the player in its entirety.
|
Modifier and Type | Method and Description |
---|---|
MapView |
MapInitializeEvent.getMap()
Gets the map initialized in this event.
|
Constructor and Description |
---|
MapInitializeEvent(MapView mapView) |
Modifier and Type | Method and Description |
---|---|
MapView |
MapCanvas.getMapView()
Get the map this canvas is attached to.
|
Modifier and Type | Method and 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 © 2021. All rights reserved.