程序包 | 说明 |
---|---|
org.bukkit |
Bukkit的常用类.
|
限定符和类型 | 方法和说明 |
---|---|
<T extends Entity> |
World.spawn(Location location,
java.lang.Class<T> clazz,
Consumer<T> function)
Spawn an entity of a specific class at the given
Location , with
the supplied function run before the entity is added to the world. |