Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
Modifier and Type | Method and Description |
---|---|
<T extends Entity> |
World.spawn(@NotNull Location location,
@NotNull Class<T> clazz,
@Nullable 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. |
<T extends Entity> |
World.spawn(@NotNull Location location,
@NotNull Class<T> clazz,
@Nullable 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. |
Copyright © 2022. All rights reserved.