Uses of Interface
org.bukkit.util.Consumer
Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
-
Uses of Consumer in org.bukkit
Methods in org.bukkit with parameters of type Consumer Modifier and Type Method Description <T extends Entity>
TWorld. spawn(Location location, Class<T> clazz, Consumer<T> function)
Spawn an entity of a specific class at the givenLocation
, with the supplied function run before the entity is added to the world.