Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
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 and Description |
---|---|
static @NotNull MapView |
Bukkit.createMap(@NotNull World world)
Create a new map with an automatically assigned ID.
|
@NotNull MapView |
Server.createMap(@NotNull World world)
Create a new map with an automatically assigned ID.
|
static @Nullable MapView |
Bukkit.getMap(int id)
Deprecated.
Magic value
|
@Nullable MapView |
Server.getMap(int id)
Deprecated.
Magic value
|
Modifier and Type | Method and Description |
---|---|
void |
Player.sendMap(@NotNull MapView map)
Render a map and send it to the player in its entirety.
|
Modifier and Type | Method and Description |
---|---|
@NotNull MapView |
MapInitializeEvent.getMap()
Gets the map initialized in this event.
|
Constructor and Description |
---|
MapInitializeEvent(@NotNull MapView mapView) |
Modifier and Type | Method and Description |
---|---|
@Nullable MapView |
MapMeta.getMapView()
Gets the map view that is associated with this map item.
|
Modifier and Type | Method and Description |
---|---|
void |
MapMeta.setMapView(MapView map)
Sets the associated map.
|
Modifier and Type | Method and Description |
---|---|
@NotNull MapView |
MapCanvas.getMapView()
Get the map this canvas is attached to.
|
Modifier and Type | Method and Description |
---|---|
void |
MapRenderer.initialize(@NotNull MapView map)
Initialize this MapRenderer for the given map.
|
abstract void |
MapRenderer.render(@NotNull MapView map,
@NotNull MapCanvas canvas,
@NotNull Player player)
Render to the given map.
|
Copyright © 2021. All rights reserved.