| 程序包 | 说明 |
|---|---|
| org.bukkit |
Bukkit的常用类.
|
| org.bukkit.entity |
为在
世界内存在的非三维像素单位(实体)提供的接口,包含玩家、怪物、抛射物等. |
| 限定符和类型 | 方法和说明 |
|---|---|
static WeatherType |
WeatherType.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static WeatherType[] |
WeatherType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
WeatherType |
Player.getPlayerWeather()
得到玩家所看到的天气.如果返回null,玩家的天气跟世界的天气一致.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Player.setPlayerWeather(WeatherType type)
设置玩家的客户端的天气.
|