| 程序包 | 说明 |
|---|---|
| org.bukkit |
Bukkit的常用类.
|
| org.bukkit.entity |
为在
世界内存在的非三维像素单位(实体)提供的接口,包含玩家、怪物、抛射物等. |
| org.bukkit.event.server |
与服务器程序状态变化有关的
事件. |
| org.bukkit.map |
用于简化处理
地图显示内容的类. |
| 限定符和类型 | 方法和说明 |
|---|---|
static MapView |
Bukkit.createMap(World world)
创建一个新地图并自动分配一个ID.
|
MapView |
Server.createMap(World world)
创建一个新的MapView实例并且自动分配ID
Create a new map with an automatically assigned ID.
|
static MapView |
Bukkit.getMap(short id)
已过时。
不安全的参数
|
MapView |
Server.getMap(short id)
已过时。
不安全的参数
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Player.sendMap(MapView map)
Render a map and send it to the player in its entirety.
|
| 限定符和类型 | 方法和说明 |
|---|---|
MapView |
MapInitializeEvent.getMap()
获得地图初始化信息.
|
| 构造器和说明 |
|---|
MapInitializeEvent(MapView mapView) |
| 限定符和类型 | 方法和说明 |
|---|---|
MapView |
MapCanvas.getMapView()
获取画布依附的地图.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|