| Package | Description | 
|---|---|
| org.bukkit | More generalized classes in the API. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| <T extends Entity> | World. spawn(Location location,
     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. | 
Copyright © 2020. All rights reserved.